vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbArticles (https://vborg.vbsupport.ru/forumdisplay.php?f=106)
-   -   [Small Mod] - If you use Geeks Gallery Popup (https://vborg.vbsupport.ru/showthread.php?t=77080)

KTBleeding 02-26-2005 02:23 PM

[Small Mod] - If you use Geeks Gallery Popup
 
If you have installed Geek Gallery Popup for vBadvanced Gallery or PhotoPost 4 or higher this little mod will allow the phrases to show up.

Open up "articles.php" and find:
Code:

$phrasegroups = array('showthread','posting','threadmanage','messaging','user');
Replace it with:
Code:

$phrasegroups = array('showthread','posting','threadmanage','messaging','user','Geek_Gallery_Popup');
Edit: Hmm, I don't know why vBulletin is spacing that out.. make sure it's Geek_Gallery_Popup, and not Geek_Gallery_Pop up

Fixed. I told you it was small.

cinq 02-26-2005 11:49 PM

But I don't see the purpose of this change. ( just the showing of that hack's phrases in vbArticles - where are they shown anyways ? )
Are you somehow integrating the Gallery Popup hack into the vbArticles hack and if so where is the corresponding code changes ? :)

KTBleeding 02-27-2005 12:37 AM

Quote:

Originally Posted by cinq
But I don't see the purpose of this change. ( just the showing of that hack's phrases in vbArticles - where are they shown anyways ? )
Are you somehow integrating the Gallery Popup hack into the vbArticles hack and if so where is the corresponding code changes ? :)

Well, with the gallery hack, it adds the gallery popup code to the smilie box template, so it's on the article submission by default. (IF you have smilies enabled).

Without it calling the phrases, the box looked a little funky and the link wouldn't work.

cinq 02-27-2005 12:39 AM

Ic, perhaps a screenshot of it in action ?
I dun really get what you mean, cos I haven't installed that hack yet

KTBleeding 02-27-2005 01:08 AM

1 Attachment(s)
Sure thing. Keep in mind that these will look different, as I have modified my WYSIWYG template.

If you have the Geek Gallery Popup installed, you'll have noticed the phrases don't show up for it when adding an article. (Screen shot #1)

This little mod allows it to pull the GGP phrases. (Screen shot #2)


All times are GMT. The time now is 05:00 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.01135 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete