![]() |
|
Article Options |
Verify if user is logged in for non-vb pages, using Jquery
by
![]() 1 - vbconnect.php
2- jquery_cookie.js Create this file using the code from this page 3- jquery_vbulletin.js Change XXX with any another prefix wich do you want
4- In your php file (external file and not in directory of the forum) Change XXX with your prefix using in jquery_vbulletin.js file
5- Your output (html / php)
The following members like this post: Lee Roberts
|
||||||||||||||||
Views: 6140
|
Comments |
#2
|
||||
|
||||
interesting...
thanks for sharing ![]()
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
#3
|
||||
|
||||
nice coding, but what versions are compatible?
No members have liked this post.
|
#4
|
||||
|
||||
@Princeton: with pleasure
@abdobasha2004: vb3 - vb4 --> for vb5 I don't have this version but I think it is the same. You can do a simple test only with vbconnect.php (with little modification)
Go to www.yourdomain.com/vbconnect.php and see the result ![]() No members have liked this post.
|
#5
|
|||
|
|||
Hello, If you could please explain about part 4? I dont really understand if I should create a php file or where its located if there is one! Thank you very much in advance
__________________
I am having a little break from vB Developing. I am trying to finish my PHP and MYSQL courses for now. I will answer all my PM's if anyone needed help for my products, but only when I can be online on vB.org. Its great to see new and old developers keeping vB.org alive! Thank you all for your support!CM
No members have liked this post.
|
#6
|
||||
|
||||
Originally Posted by ChiNa-Man
This would be the file you create, as this is about working with external pages, note the bit that reads "(external file and not in directory of the forum)". This would be the page/file you want to do something like this in:![]()
// The guest is logged in } else { // The guest is not logged in .Me
__________________
My Blog: Lee Roberts.me My Mods: vBMQN - Moderation Queue Notifications, vBUT - User Group User Titles & Custom User Titles No members have liked this post.
|
![]() |
![]() |
||||
Article | Author | Type | Replies | Last Post |
Mini Mods jQuery Accordian Module for vBAdvanced Pages | gothicuser | vBulletin 3.8 Add-ons | 5 | 19 Jul 2011 04:03 |
Mini Mods jQuery Accordian Menu for vBAdvanced Pages | gothicuser | vBulletin 3.8 Add-ons | 0 | 13 Jul 2011 08:04 |
Verify User Email Addresses | Gary King | vBulletin 2.x Full Releases | 60 | 04 Jun 2006 11:38 |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:24.