Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Sep 2007, 23:45
salata salata is offline
 
Join Date: Nov 2003
Pulling info from one template to another

I recently designed my memberlist layout with the help of numerous threads, and am pretty happy with the end result. Now what i want to do is make my WOL page to look exactly the same.

Now my understanding of it all is that memberlist template pulls info from the Users Registered
and WOL page pulls info from Users online

Now my question is. Can't i take what information that is being pulled (WOL) and place in it in the memberlist template? so the end result would be users online being displayed in my memberlist layout.

If not, can someone be kind enough to explain how i could achieve my goal.
Reply With Quote
  #2  
Old 15 Sep 2007, 06:17
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
You'd have to copy a chunk of PHP from the end of index.php and place it into a hook.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 15 Sep 2007, 07:51
salata salata is offline
 
Join Date: Nov 2003
would someone be kind enough to tell me what chunk of index.php i need to copy. I looked the file over and saw instances in the middle and near the ending of the file (well instances of where i thought the pull of information of users online).
Reply With Quote
  #4  
Old 15 Sep 2007, 13:12
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Last time I looked, it was the code at the end of index.php. Also, look at the comments, as most vBulletin files are heavily commented.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:17.

Layout Options | Width: Wide Color: