The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Will this work if added to the template of a vbpowered page?
Basically, I want the who's online block added on pages I create. Thank you --------------- Added [DATE]1239210886[/DATE] at [TIME]1239210886[/TIME] --------------- @ Lynne I found your article, I am using Gary Kings vbpowered pages. I have about 70 working pages but when I add the code changes into the index.php everything goes haywire. I don't get the "Add this" to the "Start and End" I put the "Start" code right under this: // ### LOGGED IN USERS ################################################# and I put the "End" code right before this: // ### MAX LOGGEDIN USERS ################################ When I load the page, I get an error at line 540 message |
#2
|
||||
|
||||
![]()
You need to copy the code from your index.php file from where I say Start to where I say End. You add all that code to your page.
|
#3
|
||||
|
||||
![]()
We should have a subforum for people to share additions they made for their vb powered pages. I think it would be really useful for everyone to share ideas that we've been able to get to work.
|
#4
|
|||
|
|||
![]()
Ah, ok. Made the change.
Here's what I get on my page. Nothing shows up with me on the page. ************************************************** ********** Currently Active Users: ( members and guests) Most users ever online was , at . |
#5
|
||||
|
||||
![]()
Did you start with the template and page code from the original article I linked to? My article is just stuff to ADD to the other page/template. You need to have a working page first before you add the stuff in my article.
|
#6
|
|||
|
|||
![]()
Yes, all my pages are Gary Kings vbpowered pages (which is your first suggested installed and working template/page article config). All are working. I added all the .php page changes. Then I added the change to the template which calls the .php page.
|
#7
|
||||
|
||||
![]()
Why don't you post the code here. Use the php and html code tags when posting your php/template code.
|
#8
|
|||
|
|||
![]()
Here's the template
PHP Code:
I can't post the page code. The AJAX just spins then times out when it tries to post |
#9
|
||||
|
||||
![]()
Well, the template looks fine. The only thing I can think of for the php is that you are evaling your own template before the code to create the activeusers is evaled. So, make sure that isn't so.
|
#10
|
|||
|
|||
![]() Quote:
I can tell you, I put this chunk of code at the end of my .php page after "Start main script" // ### LOGGED IN USERS ################################################# code start and end here |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|