The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
mist,
They are both very close. The only thing I see with both is they require you to click a button to go to the login page, where I was hoping to have the actual login box appear at that point. But, one of these might be a good option for the pages other than forumhome that do not a visible login box. Thank you for spending the time to locate these. Robert Pfeifer |
#12
|
||||
|
||||
i want the same thing
|
#13
|
||||
|
||||
I came close, i added this into the global.php...
Code:
// if user is know, then welcome $getnewthread=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE lastpost > '$bbuserinfo[lastvisit]'"); $getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'"); if ($bbuserinfo['userid']!=0) { $username=$bbuserinfo['username']; eval("\$welcometext = \"".gettemplate('forumhome_welcometext')."\";"); eval("\$logincode = \"".gettemplate('forumhome_logoutcode')."\";"); eval("\$newposts = \"".gettemplate('forumhome_newposts')."\";"); } else { $welcometext = ""; eval("\$newposts = \"".gettemplate('forumhome_todayposts')."\";"); eval("\$logincode = \"".gettemplate('forumhome_logincode')."\";"); } |
#14
|
||||
|
||||
Firstly, just add this:
PHP Code:
|
#15
|
||||
|
||||
Quote:
I should've known to put it after all those templates were called, because the problem was that the templates weren't being called. Duh, stupid mistake on my part. But thank you very much |
#16
|
|||
|
|||
Quote:
I ask as I need a log in box on a certain catagory page, and I can seem to find a way to get one there. Will this work for me, and if so, where do I put this code? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|