The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Not sure where to post this....
I allow unregistered users to see the forum, but they cannot see anything within it. However, it says: "There have been no posts in the last 30 days in this forum." I want it to say something else, such as: "Sorry to see the contents of this forum, you must first login or register" ANY IDEAS??? THANKS Peace |
|
#2
|
||||
|
||||
|
It shouldn't be that hard.
But since i had to reinstall my computer, i haven't got anything ![]() No files, No programms.......sorry |
|
#3
|
||||
|
||||
|
Open root/forumdisplay.php
Find: Code:
} else {
// there are no threads or announcements to show
eval("\$forumdisplay[threadslist] = \"".gettemplate('forumdisplay_nothreads')."\";");
}
Code:
} elseif ($bbuserinfo[usergroupid]=="1") {
// display login or register message to unregistered
eval("\$forumdisplay[threadslist] = \"".gettemplate('forumdisplay_loggedout')."\";");
} else {
// there are no threads or announcements to show
eval("\$forumdisplay[threadslist] = \"".gettemplate('forumdisplay_nothreads')."\";");
}
Code:
To see the contents of this forum, you must first login or <a href="http://$bburl/register.php?s=$session[sessionhash]&action=signup">register</a> ![]() Satan |
|
#4
|
|||
|
|||
|
THANK YOU SO MUCH, it worked like a charm
Peace |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|