The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Question about [HOW TO - vB4] Create your own vBulletin page
Quote:
Can i use this code for adding a none Vbulletin page on 4.0? case 'href="www.test.com' Something like that? Thanks |
#2
|
||||
|
||||
Follow the hook_location "online_location_process" and find out what the switch is doing. It's looking at the location your user is at. And, that location is grabbed from the location field in the session table. If your users location is in there, then you can use it. If your user is somewhere where the location isn't entered into the session table, they you can't use it.
|
#3
|
|||
|
|||
Quote:
Where would i search "online_location_process" or "hook_location" in the adminCP Would it be the "Plugin System"? Thanks |
#4
|
||||
|
||||
Doesn't your text editor search files? I just plug in a word and ask it to do a search in my uploads directory. I couldn't code if I couldn't go look up hook locations (how else do you find what variables are available for use?). This particular hook is in the functions_online.php file.
|
#5
|
|||
|
|||
No can you tell me which one you use please?
and you can search Within the files in your FTP? Edit wow it does lol Thanks i didnt even know it could do this Thank you ! |
#6
|
||||
|
||||
I use BBEdit, but it's for Macs.
|
#7
|
|||
|
|||
All right hours trying (thought i could do it without asking your help again but here i am)
This is what i have done and where i am also stuck I made this php script PHP Code:
I than added Code:
<iframe src="http://www.myanimeisland.com/extra_online_users.php" scrolling="no" allowtransparency="true" frameborder="0" width="0" height="0"></iframe> Than added these two in the plugin manager online_location_proces PHP Code:
PHP Code:
Unknown Location /extra_online_users.php I just cant seem to get it to say "Viewing MAI-Wallpapers" and point to the URL Anyone any ideas? Thanks alot |
#8
|
||||
|
||||
I don't think putting it in an iframe is going to work with this. Have you tried going to the page and then checking your location in the session table to see what it says? Like I said above, the location is in there and so you need to make sure it is correct in there or you can't use it.
|
#9
|
|||
|
|||
Quote:
Yea ive been to the page and it says Unknown Location /extra_online_users.php in the whos-online You say iframe might not work how would you add it if you was doing this? Thanks Lynne your the best :up: |
#10
|
||||
|
||||
Try changing these lines to not have the .php:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|