Previous Thread
Next Thread
Print Thread
Rating: 5
Page 3 of 3 1 2 3
Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
scroungr

I have finally changed the code and its not getting the error I first was getting, but now all signatures are not separate from the posts.
I have left it as it is for now for you to see.

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
hmm trouble resolving your host but I will take a look when I can.

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Another problem as been spotted.
New users do not have any ponits or earn any. I have added 5000 to their account but it does not show.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Hmmmm did you add the code to adduser.php?


// -------------------------
// Build Board Query For Shop Mod & Insert Points
// Add user to Shop
$query="
INSERT INTO {$config['tbprefix']}ShopMembers
VALUES ('', '$Uid', '$Displayn_q', '$Title_q', '$Picture_q', '', '', '', 'OFF', '$Color_q', 'OFF', 'OFF', 'ON')
";
$sth = $dbh -> do_query($query);
// End of Build Board Query For Shop Mod & Insert Points
// -------------------------


without that they won't get added to the w3t_ShopMembers table when they are added as a new user to the board?

it has to be UNDER

// Get this user's user number
$query = "
SELECT U_Number
FROM {$config['tbprefix']}Users
WHERE U_Username='$Displayname_q'
";
$sth = $dbh -> do_query($query,__LINE__,__FILE__);
list ($Uid) = $dbh -> fetch_array($sth);

Sponsored Links
Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
No, how did I miss that

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
instructions.. line 11)

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Thank you!

Do you mind having a look at this for me?
Now all signatures are not separate from the posts.
I have left it as it is for now for you to see.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I would but I still can't resolve your host.. gives me an error when I try to get to your site no matter what PC i use and no matter how I try.

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
wtf is causing that then

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
only way I have figured out how to get to your forums is if I use http://harrier.xssl.net/~admin115/

there is most likely something wrong with your resolver.. I would message others and see if anyone else has this issue

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
I think I will have to

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Looks like you have some issues with your nameservers - http://www.dnsreport.com/tools/dnsreport.ch?domain=parentforum.org


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Thanks Ian, I will let my hoster know

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
wow thanx for that site Ian

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
I don't know whats up with my site.
My hoster has said nothing is wrong and pointed this out to me
http://www.dnsreport.com/tools/dnsreport.ch?domain=bbc.co.uk

I know this is going off topic, but can anyone help with this problem? This is beyond my skills

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
ns.bbc.co.uk.[212.58.228.21] needs to be listed with the parent nameserver as a nameserver for your domain. It appears to only be listed with the authoritive and not the parent DNS server.

you can see from your parent that
ns1.thny.bbc.co.uk. [212.58.240.21] [TTL=172800] [UK]
ns1.thls.bbc.co.uk. [132.185.240.21] [TTL=172800] [EU]
ns1.thdo.bbc.co.uk. [212.58.224.21] [TTL=172800] [UK]
ns1.bbc.co.uk. [132.185.132.21] [TTL=172800] [EU]

are your name servers but from the authoritive you get
ns.bbc.co.uk.[212.58.228.21] [TTL=900]
ns1.thls.bbc.co.uk.[132.185.240.21] [TTL=900]
ns1.thdo.bbc.co.uk.[212.58.224.21] [TTL=900]
ns1.thny.bbc.co.uk.[212.58.240.21] [TTL=900]

best I can tell is ns.bbc.co.uk.[212.58.228.21] [TTL=900]
should be ns1.bbc.co.uk. [132.185.132.21] [TTL=172800] [EU]

WARNING: Your SOA (Start of Authority) record states that your master (primary) name server is: ns.bbc.co.uk.. However, that server is not listed at the parent servers as one of your NS records!

Joined: Jun 2002
Posts: 670
Code Monkey
Code Monkey
Offline
Joined: Jun 2002
Posts: 670
[]scroungr said:
okay a few questions.. do you have globals turned on or off? does your server allow the super globals $_POST and instead makes you use the obsolete $HTTP_POST_VARS and $HTTP_GET_VARS instead?

about the tables its only when you go into say the features table from what I see... that splits the table the features are lsited on and puts it below the menu you have on the right? try this shopcategory.tmpl and let me know if it fixes it.. I think there was an extra </table> closure... [/]

This is from Josh:
Register globals is "On" and yes, it will accept $_GET and $_POST arrays.

Anyhow, I still am having the exact same issues with the scripts not working and problems with the templates. I HAVE however fixed most of the issues with the templates. The problem was they were breaking my layout and it turns out there were extra closing td, tr, and table tags. I just commented them out so you can see. I've also fixed a bug in the shopitem.tmpl where clicking on the button that says "HERE" gave a 404 error due to the new directory structure (everything being in /ubbthreads/theshop). I also fixed the same bug in the itempreview.tmpl where clicking on "Preview Name" gave the same 404 error, since the form was being sent to /ubbthreads/itempreview.php. I've attached the work on the templates to this post. If anyone could see what's wrong with shopcategory.tmpl:
http://www.laondalatina.com/foros/theshop/shopcategory.php?Cat=&cid=1
I would appreciate it.
Attachments
126614-default.zip (0 Bytes, 17 downloads)

Page 3 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)