Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Make Photopost vBGallery v2.1 work with Zoints SEO. UpDate: V1.01 Details »»
Make Photopost vBGallery v2.1 work with Zoints SEO. UpDate: V1.01
Version: 1.01, by rsj1 rsj1 is offline
Developer Last Online: Apr 2018 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.3 Rating:
Released: 11-05-2006 Last Update: Never Installs: 12
Template Edits
 
No support by the author.

There is a simple edit that will allow photopost vBGallery to work correctly with Zoints SEO. Every instance of the /gallery url being changed to the /forum url should now be fixed.

V1.01

Edit "gallery_config.php"
Find:
Code:
// ============================================
// Enter the full path to your forum here
// Example: /home/photopost/public_html/forum
// ============================================
Insert Below:
Code:
define('VB_AREA', 'vBGallery');
Save and upload.

To unistall the old version simply revert your Photopost vBGallery templates

DEMO URL: [CURRENTLY BLANK] (NOTE: I have not tested these edits on a live board, only on my localhost server. If you apply them and wish your forum to be listed as a live demo please let me know.)

Many Thanks to "Calash" for the idea!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-06-2006, 11:45 AM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran into a similar issue with a bridge I have been working on. The fix was not to alter the templates, but to put a define right before the call to global.php

Code:
define('VB_AREA', 'vBGallery);
This prevented Zoints SEO from changing the base directory to the forum.

I am not sure if this is the same problem, but it does sound the same.
Reply With Quote
  #3  
Old 11-06-2006, 03:26 PM
rsj1 rsj1 is offline
 
Join Date: Oct 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm thats possible, but I hate trawling through others php code :P The template edits seem to do the trick without too much fuss.
Reply With Quote
  #4  
Old 11-14-2006, 02:46 AM
patsalko patsalko is offline
 
Join Date: Nov 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Calash View Post
I ran into a similar issue with a bridge I have been working on. The fix was not to alter the templates, but to put a define right before the call to global.php

Code:
define('VB_AREA', 'vBGallery);
This prevented Zoints SEO from changing the base directory to the forum.

I am not sure if this is the same problem, but it does sound the same.
where exactly do you put this?
Reply With Quote
  #5  
Old 11-14-2006, 07:19 AM
rsj1 rsj1 is offline
 
Join Date: Oct 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would guess you would put it into the php file... I don't have my localhost server with me at the moment so can't check - I'll try looking into it tonight at work. If this is all you need to do it would make a lot more sense than replacing 99% of the templates.
Reply With Quote
  #6  
Old 11-14-2006, 09:25 AM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most of the navigation is fine, but still getting wrong path (/forum/ instead of /gallery/ ) when clicking the 'next image' or 'previous image'.
Reply With Quote
  #7  
Old 11-14-2006, 02:33 PM
patsalko patsalko is offline
 
Join Date: Nov 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i try to upload images, I get red x. what could be the pb?
Reply With Quote
  #8  
Old 11-14-2006, 03:39 PM
rsj1 rsj1 is offline
 
Join Date: Oct 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by patsalko View Post
when i try to upload images, I get red x. what could be the pb?
This is more likely to be an incorrect upload path, incorrect GD settings or a permission error

Quote:
Originally Posted by gothicuser
Most of the navigation is fine, but still getting wrong path (/forum/ instead of /gallery/ ) when clicking the 'next image' or 'previous image'.
Is that with my hack or before applying?

I'm working on my localhost server now so I will try the "define('VB_AREA', 'vBGallery);" edits soon.
Reply With Quote
  #9  
Old 11-14-2006, 03:46 PM
rsj1 rsj1 is offline
 
Join Date: Oct 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gothicuser View Post
Most of the navigation is fine, but still getting wrong path (/forum/ instead of /gallery/ ) when clicking the 'next image' or 'previous image'.
Ah I just worked this one out, its a phrase that supplies the prev / next links - if the test i'm doing now fails i'll include instructions to edit them too
Reply With Quote
  #10  
Old 11-14-2006, 04:01 PM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rsj1 View Post
Ah I just worked this one out, its a phrase that supplies the prev / next links - if the test i'm doing now fails i'll include instructions to edit them too
Many thanks, keeping close eye on this one
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:09 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.05205 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete