Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Jul 2007, 07:02
c4smok c4smok is offline
 
Join Date: Jun 2007
Trying to combine my game with vBulletin

So far I have set it up so it uses the same logins when created but I am having a problem with setting up the checks for the game itself. That is because I need to figure how to add vars into the template from more tables I added to the vbforum database, since you can not directly put php into the template. So far I have not touched any php in the files because I can not find where to start at. I simply want it to check if the person is in the game... How big they are and so on and show it on the nav bar, but I am having an issue on finding where I need to start out to do this.

Thanks,
c4smok
Reply With Quote
  #2  
Old 10 Jul 2007, 07:05
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Put your code in a plugin hooking at global_start. Make sure you assign the data to a variable. Then use that variable in templates.
__________________
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 10 Jul 2007, 09:28
c4smok c4smok is offline
 
Join Date: Jun 2007
Tried this but it does not seem to work.. put it in global_start


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

trying to match up usernames so I can import the vars for my checks..
Reply With Quote
  #4  
Old 10 Jul 2007, 10:09
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
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
  #5  
Old 10 Jul 2007, 10:14
c4smok c4smok is offline
 
Join Date: Jun 2007
that works great =)

you own..
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases ibProArcade Shows Game Count + Newest Game and Random Game in your Forum Statistics stangger5 vBulletin 3.6 Add-ons 111 04 Jul 2013 22:55



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 09:17.

Layout Options | Width: Wide Color: