vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add Custom WOL Locations from ACP (https://vborg.vbsupport.ru/showthread.php?t=83247)

Boofo 09-24-2005 01:11 PM

Quote:

Originally Posted by KirbyDE
You can't have this as the filename, as it is not the filename.
However you can code a Plugin that uses this as the URL on WOL.

Take a look at the Plugins this Hack creates to get the idea how to do that.

Would I have to do a separate plugin for each time I wanted to do that or could I just keep adding links like this to it? That might actually work out better as a plugin.

Andreas 09-24-2005 01:13 PM

This Hack is designed to handle simple Things like page1.php - Viewing Page 1 etc.

For more complicated stuff, as said, you have to make your own Plugins :)

Boofo 09-24-2005 01:17 PM

Quote:

Originally Posted by KirbyDE
This Hack is designed to handle simple Things like page1.php - Viewing Page 1 etc.

For more complicated stuff, as said, you have to make your own Plugins :)

The question I asked above was about plug-ins. I understand what you mean about the hack. I'm asking if I can add more links like this to a plg-in or would I have to do a separate plug-in for each link? ;)

Andreas 09-24-2005 01:30 PM

You can do it in 1 Plugin and i'd recommend to make only 1 Plugin.

Boofo 09-24-2005 01:40 PM

Quote:

Originally Posted by KirbyDE
You can do it in 1 Plugin and i'd recommend to make only 1 Plugin.

One plug-in for multiple links or one plug-in for this one link? I just want to make sure I get it right is all.

Andreas 09-24-2005 01:52 PM

1 Plugin

Zelda-King 09-24-2005 02:30 PM

Working like a charm. I would say the README needs to state where to find the options (which are under Maintenance).

Andreas 09-24-2005 02:55 PM

Added that to the readme :)

jribz 09-25-2005 07:57 PM

Kirby, is there any way to make this recognize urls in a subfolder within the forums? For example, I have PhotoPost installed and would like to simply have everything in the folder forumroot/gallery/ to show up as In the Gallery.

Is this possible with this?

Andreas 09-25-2005 08:18 PM

Depends.
AFAIK the existing Hooks only handle Filenames. So if the Filenames are unique it should work, otherwise I think it will not.


All times are GMT. The time now is 03:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03588 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete