|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
bar that has Portal Page 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...
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
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 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
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
Hope that made sense to other than me
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
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.... 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
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
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...
|
|
|
|
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....
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
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
Carpal Tunnel
|
Carpal Tunnel
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
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
My guess is in ubbthreads.php change $result = ppmysql_query("UPDATE {$Globals['dprefix']}USERS_DATA SET USER_LAST_VISIT_TIME=$date WHERE USER_ID={$User['userid']}",$db_link);
to $result = ppmysql_query("UPDATE {$Globals['dprefix']}USER_DATA SET USER_LAST_VISIT_TIME=$date WHERE USER_ID={$User['userid']}",$db_link);
|
|
|
1 members (Ruben),
1,277
guests, and
207
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|