Author |
Message |
daemon
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/45457316443317186036f.png)
Joined: Jan 07, 2005
Posts: 163
|
Posted:
Mon Apr 10, 2006 2:29 am |
|
got a quick question.... in the forums footer theres {PHPBB_VERSION} which I'm assuming is pose to a call to get version number? anyway how would be the best way to call the config_value from database or the version number whichever its called? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
VinDSL
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/a22ae3b240f0eae302721.jpg)
Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com
|
Posted:
Mon Apr 10, 2006 6:11 am |
|
Here's how I do it...
Code:$sql = "SELECT config_value FROM " . $prefix . "_bbconfig WHERE config_name = 'version'";
$result = $db->sql_query($sql);
$phpBB_Version = $db->sql_fetchrow($result);
|
|
_________________ .:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. |
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
daemon
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 10, 2006 10:23 am |
|
was this removed at one point or another? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
daemon
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 10, 2006 10:43 am |
|
where are these set?, they really need updated rather than leaving the old code in there, any ideas to where {PHPBB_VERSION} and {ADMIN_LINK} are actually at?
i'm looking and dont see em ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Mon Apr 10, 2006 12:24 pm |
|
The version was removed from the main Forums page, it is now in the Forums admin panel
It is assigned in modules/Forums/page_footer_admin.php |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
daemon
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 10, 2006 1:40 pm |
|
ah ha..... can i still display it on the old page? {PHPBB_VERSION} is obvisouly not the right way. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 10, 2006 10:09 pm |
|
Well, you'd have to re-add the code back into the page_tail.php - time to go back a couple of phpBB versions |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
daemon
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 10, 2006 10:19 pm |
|
ah i said forget it, hehe isnt worth all that ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Apr 11, 2006 5:53 am |
|
Yeah, it was moved so that hackers wouldn't know the exact version of phpBB you were using... you know, anything to help slow them down a little... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|