Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Mar 2013, 04:24
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Real name: Austin
Custom WOL for index.php

Currently, index.php points to "Viewing Forum Index" which is okay. I'd like to know if there's a way to make it so if they're on "index.php?page=example" that it would show "Viewing Page: Example" or something of the sort. I just can't figure out how to do it.

Thanks.
Reply With Quote
  #2  
Old 26 Mar 2013, 09:16
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
The way I learned how to do this;
Make a new plugin with any name
hook it to online_location_process

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

now make another plugin with a new name
hook to online_location_unknown

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

This should work. Let me know if it doesn't. I only used it where the file ended with .php (for example, custompage.php), not when it didn't end with an extension (it's ending with ?page=example), but it may work still.
Reply With Quote
  #3  
Old 31 Mar 2013, 00:34
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Real name: Austin
Thanks for the reply. It doesn't appear to work though. I even tried adding to the first part.
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This did not work either.
Reply With Quote
  #4  
Old 31 Mar 2013, 22:56
CoffeeLovesYou CoffeeLovesYou is offline
 
Join Date: Feb 2010
What you added looks like it'd work. But why the extra underscore?


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

Reply With Quote
  #5  
Old 01 Apr 2013, 02:17
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Real name: Austin
Oh, I didn't mean to type that when I wrote it here. That doesn't work.
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 16:07.

Layout Options | Width: Wide Color: