Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
bar that has Portal Page
Quote
Portal Page Forum List My Stuff User List Calendar Active Topics Search FAQ


I would like to add the link for the photopost that was just installed by Chuck...


http://clubadventist.com/forums

No longer following the carrot
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That's the header.tpl template you're looking for, down towards the bottom of it.

Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
so where it says
Quote
a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}faq">{$lang.FAQ_TEXT}

I need to change that, (this is a copy) BUT the photopost is in the root of that domain.. Ie not in the forum folder... when i change /ubbthreads.php to /photopost/index.php I get an error as it takes it one level down bellow the ubbthreads folder...

I would also need to change the FAQ-Text to photos..

If i only understood php frown


http://clubadventist.com/forums

No longer following the carrot
Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
Hope that made sense to other than me smile


http://clubadventist.com/forums

No longer following the carrot
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Yes, you'd just add it after the FAQ line. So you'd probably put something like:

      <a href="http://www.yourdomain.com/photopost/index.php">Photos</a>

Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
Thanks have that working...

now the only error we are getting is this....

Quote
The query returned with an errorcode of:

Table 'db177660228.ubbt_USERS_DATA' doesn't exist

after that is fixed I think it is 100% complete


http://clubadventist.com/forums

No longer following the carrot
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Is that on the photopost side of things? That should be referencing ubbt_USER_DATA, not ubbt_USERS_DATA. I just looked to see if that was anywhere in the stock code and it's not so I'm assuming that's an addon or the photopost integration that needs changing.

Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
I have let Chuck know, he may be watching this...


http://clubadventist.com/forums

No longer following the carrot
Joined: Jun 2006
Posts: 869
old hand
old hand
Joined: Jun 2006
Posts: 869
ANY idea where I would make that change? It is an error message coming form Photopost.. I an not see anything in the admin section....


http://clubadventist.com/forums

No longer following the carrot
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Unfortunately not. I've never actually used Photopost and don't personally have a copy of it.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
One idea Stan is to use something like UltraEdit 32, or similar txt editing software and do a search in all files within the scripts in your photopost directory on your local pc for ubbt_USERS_DATA and change it to ubbt_USER_DATA if you find it.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
My guess is in ubbthreads.php change

PHP Code
$result = ppmysql_query("UPDATE {$Globals['dprefix']}USERS_DATA SET USER_LAST_VISIT_TIME=$date WHERE USER_ID={$User['userid']}",$db_link);  

to

PHP Code
$result = ppmysql_query("UPDATE {$Globals['dprefix']}USER_DATA SET USER_LAST_VISIT_TIME=$date WHERE USER_ID={$User['userid']}",$db_link);  


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)