Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Custom Script need WOL Location, EASY
PennylessZ28
Join Date: Mar 2002
Posts: 737

North America
by PennylessZ28 PennylessZ28 is offline 21 Jul 2006
Rating: (1 vote - 5.00 average)

If you have a custom PHP page for vbulletin and want to add it to the WOL you can do it with two plugins very simply.

ACP > Plugin & Products System > Add New Plugin >

Hook Location: online_location_process
Title: Test WOL 1

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

Hook Location: online_location_unknown
Title: Test WOL 2

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

The end, enjoy, hope this was useful. Replace test with your own variablles.

Last edited by PennylessZ28; 25 Jul 2006 at 00:48..
Views: 4114
Reply With Quote
Comments
  #2  
Old 22 Jul 2006, 01:26
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Nice. I'll have to remember this for new hacks.

Sidenote: It'd be really cool if we could Install Articles or even Rate them... any chance vB.org would install GARS? He he he...
__________________
Former vBulletin.org Staff Member

Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
Reply With Quote
  #3  
Old 24 Jul 2006, 19:15
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by PennylessZ28
If you have a custom PHP page for vbulletin and want to add it to the WOL you can do it with two plugins very simply.

ACP > Plugin & Products System > Add New Plugin >

Hook Location: online_location_process
Title: Test WOL 1

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

Hook Location: online_location_unknown
Title: Test WOL 2

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

The end, enjoy, hope this was useful. Replace test with your own variablles.
The second code will turn out an error. It'd need to be:


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

The last } was missing.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #4  
Old 25 Jul 2006, 00:48
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Real name: Mike
Originally Posted by King Kovifor
The second code will turn out an error. It'd need to be:


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

The last } was missing.
yup, forgot to type that up.
Reply With Quote
  #5  
Old 27 Jul 2006, 00:50
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by PennylessZ28
yup, forgot to type that up.
I've made that mistake a lot. along with forgetting the \ infront of " in PHP... things like that!
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #6  
Old 20 Mar 2011, 03:51
DarkGizmo DarkGizmo is offline
 
Join Date: Apr 2008
Real name: Anthony
This didn't work for me.....any ideas why? Using vBulletin 3.8.6.
Reply With Quote
  #7  
Old 16 Apr 2011, 09:09
vip_inc200 vip_inc200 is offline
 
Join Date: Feb 2007
I'll try it,

Thank you very much
__________________
www.e-maha.com/vb
Reply With Quote
  #8  
Old 16 Oct 2013, 10:17
zylstra zylstra is offline
 
Join Date: Aug 2004
What's WOL?
Reply With Quote
  #9  
Old 16 Oct 2013, 10:39
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Who's Online.
Using the above code after creating new pages on creating an addon will eliminate seeing "Viewing Unknown Location" while viewing whos online
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
Reply



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

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 05:59.

Layout Options | Width: Wide Color: