Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 2 1 2
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
LittleJosh. hehe.... I have a cousin named Josh and my family calls him LittleJosh and me BigJosh, so that's a change for me.

Thanks for your help, Chuck!

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
LOL well gotta keep you and the other Josh separated.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Just follow the smell of Oreo cookies.....

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Oh My

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
The place that puts the number of new posts in ( ) are hardcoded red. Should be

<span class="new">($newwhatever)</span>

So it matches. Otherwise, great work!

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Duh yes thanks That would be correct.

Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Not sure what I'm missing here in this one....Seems pretty simple but here's my error.....

Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/ubbthreads/templates/default/ubbt_photopost.tmpl on line 63

Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/ubbthreads/templates/default/ubbt_photopost.tmpl on line 83




Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/ubbthreads/templates/default/ubbt_photopost.tmpl on line 128

Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/ubbthreads/templates/default/ubbt_photopost.tmpl on line 139

Any ideas?


Some people read their stars..... I choose to write my own
Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Chalk it up to lack of sleep and too much turkey? Got it working...... Sorry.... Great hack!


Some people read their stars..... I choose to write my own
Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Spoke too soon maybe.... Everything is showing up but when clicking on a photopost forum the lightbulb stays gold and the amount of photos are saying (500) as if 500 new images are in each forum. What might cause this?


Some people read their stars..... I choose to write my own
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
LOL

Okay in top of the instructions my friend it gives you a bit of code to add in ubbthreads.php

I beleive it was under this

$Username = $user['U_Username'];

add this

$UserID = $user['U_Number'];

Sponsored Links
Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Hiya Chuck....

It's amazing what a little space will do..... dum de dum.... Pleading the flu thing.....

Thanks again!


Some people read their stars..... I choose to write my own
Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Ok... This is probably another dumb question... But I just realized after all this time that on my below my main index it ends at the photopost forums... There is nothing in the footer or any threads information....What should I look for?


Some people read their stars..... I choose to write my own
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
try this template

Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Hey, that did fix the problem I was having with the new post indicators showing up...... However... Look at the format.....

http://stormchat.com/ubbthreads/ubbthreads.php


Some people read their stars..... I choose to write my own
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
How are you including this in your ubbthreads.tmpl?

within the forum list or separate?

Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Within.......


Some people read their stars..... I choose to write my own
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
My Bad I posted mine. I use mine within the forum list not outside thats why you dont see a tbopen or tbclose or photo list

try this one
Attachments
102675-ubbt_photopost.txt (0 Bytes, 52 downloads)

Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Thanks as always Chuck! You're a lifesaver! Still not showing the footer stuff down there for some reason but the new post indicators are working....


Some people read their stars..... I choose to write my own
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Thats easy you have one of those servers like mine

Yuo have trouble closing DB connections to another so use this at the bottom of ubbt_photopost.tmpl and fill in the value where it says DATABASE and replace that with your threada database name.

mysql_select_db('DATABASE') or die("Could not select database 'DATABASE'\n");

Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
No go.... darnit.... I did try that actually.. It was in the first file you sent me so I tried that just in case...I probably missed some code somewhere.... lol


Some people read their stars..... I choose to write my own
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
mysql_select_db('DATABASE') or die("Could not select database 'DATABASE'\n");

That should do it basically it closes the other database connection telling it to connect to threads. My server will have my pages look like yours if I did not use that line. Make sure you typed the right database name for threads where I have DATABASE. It goes right before the closing ?> tag in ubbt_photopost.tmpl

Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
I'm having problems with installing this. I'm getting a parse error and also mysql querys.
I did read that the sidebar hack is a known problem, (which i have installed) and i have to install ?> in a file, but i cant find out the details.
To see the error:
http://www.fordmondeo.org/ubbthreads/ubbthreads.php?Cat=
ta!

Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
ok, sorry all, fixed it.
Theres an error in one of the files, reviewpost.inc.php

$rppassword = ""]; //Password

there shouldnt be ] in there.

The original needs fixing, as this is how i downloaded it.

Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
Works great on my UBBT6.2.3 setup - Thank you for your excellent work!


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Page 2 of 2 1 2

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
Morgan 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)