vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Menalto's G2 integration into VB3 (https://vborg.vbsupport.ru/showthread.php?t=80478)

fringehead 10-25-2005 01:27 AM

Hi Whodah and zquestz,

I got the gallery setup with Whodah's file, but I am having trouble getting the mod_rewite to work properly.....

From the docs I have read on menalto's site and here, I gather it's just in the Embeded Setup settings:

Embedded Setup

For URL Rewrite to work in an embedded environment you need to set up an extra htaccess file to hold the mod_rewrite rules.

Htaccess path: (I put in /var/www/forums)
Public path: http://forums.scubapost.net (I put in /gallery and tried /gallery2.php)

My embeded album is in http://forums.scubapost.net/gallery/

When I put in /gallery/It shows the path to the non-embeded photos. When I put in /gallery2.php it gives me urls' without the /gallery/ directory...

How did you guys get the embeded short urls to work?

EDIT:

I put in / instead of gallery2.php, also I have my Cookies settings to:

Path: /
Domain: .forums.scubapost.net (my forum is in a subdomain)


It is now working with the urls but some icons are missing. The program paths are :

embed: http://forums.scubapost.net/v/scripp...-0046.jpg.html
stand alone: http://forums.scubapost.net/gallery/...-0046.jpg.html

I assume is wrong. Any idea what I don't have configured right?


Thanks,

Sean

fringehead 10-26-2005 10:54 AM

OK I actually modified my board to match all of your settings... My gallery is working! but I still have the link issue. Check out this photo and notice the broken links.

http://www.scubapost.net/forums/v/sc...-0184.JPG.html

I check out the navbar and made the changes you said to make but they didn't have any effect. I am using 3.5, might these templates have changed?

When I click on a picture the broken links are "reload page" and "go back"... Is there anyway to eliminate them or hard code them?

As far as random blocks, I have made an html file and call it from the forum... Here is my html file:

table width="100%" align="center" cellpadding="0" cellspacing="0">
<tr valign="top">
<td align="center"><?php readfile('http://gallery.scubapost.net/main.php?g2_linkTarget=_blank&g2_view=imageblock.E xternal&g2_show=none&g2_blocks=randomImage&g2_maxS ize=140'); ?></td>
<td align="center"><?php readfile('http://gallery.scubapost.net/main.php?g2_linkTarget=_blank&g2_view=imageblock.E xternal&g2_show=none&g2_blocks=randomImage&g2_maxS ize=140'); ?></td>
<td align="center"><?php readfile('http://gallery.scubapost.net/main.php?g2_linkTarget=_blank&g2_view=imageblock.E xternal&g2_show=none&g2_blocks=randomImage&g2_maxS ize=140'); ?></td>
<td align="center"><?php readfile('http://gallery.scubapost.net/main.php?g2_linkTarget=_blank&g2_view=imageblock.E xternal&g2_show=none&g2_blocks=randomImage&g2_maxS ize=140'); ?></td>
</tr>
</table>

here is the code I put in the forumhome:

<!---------- PHOTO GALLERY START ---------->


<table class="thead" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">

<tr class="alt2" align="center" colspan="100%" border="0">
<div><iframe id="main" name="main" align="middle" valign="middle" src="http://www.scubapost.net/forums/randomimage.php/" border="0" frameborder="0" resizeable="no" scrolling="no" height="190" width="100%">
</iframe></div></tr>


<td class="tcat" colspan="100%" height="25" align="center" nowrap>Random Photographs from Our Member Photo Galleries</td>
</table>

<!---------- PHOTO GALLERY END ---------->

I'm no coder, but I saw the question was asked....

I do appriciate all documents to get me so far... I just have to clear up those urls and I'm good to go!

Thanks,

Sean

whodah 10-26-2005 05:43 PM

heya! it's quite possible they have changed in 3.5...

i'm not running it yet myself, but plan on doing so soon!

dsko 11-10-2005 06:07 AM

hi,

i have been following the directions in this thread to attempt the bridge between gallery and vb. i am currently getting the following error message

Notice: Undefined index: HTTP_REFERER in
/home/freshdis/public_html/forum2/includes/class_core.php on line 1546

Unable to add cookies, header already sent.
File: /home/freshdis/public_html/forum2/includes/class_core.php
Line: 1546

I am using galler 2.0.1 and vb 3.5.1

I do realise that this bridge is for an earlier veersion of vb but i did notice that a few ppl on here said they have got this working in 3.5

any ideas?

fringehead 11-15-2005 04:17 PM

Quote:

Originally Posted by whodah
heya! it's quite possible they have changed in 3.5...

i'm not running it yet myself, but plan on doing so soon!


Whodah,

Thanks for all the information for embedding Gallery into Vbulletin! I tried the phrase and menu bar again and your instructions worked! I don't know what was up earlier, but my Gallery is working great now!

Thanks again!

Sean

tercede 11-27-2005 04:12 AM

so, is there a way that works for vb 3.5.1? the one post before doesnt work for me :ermm:

fringehead 11-28-2005 03:25 AM

Quote:

Originally Posted by tercede
so, is there a way that works for vb 3.5.1?

It works for 3.5.1... Read each post... Someone posted the different code required to use it for 3.5.1....

Sean

inkpassion 12-20-2005 08:08 PM

Would it be possible to see your .htaccess file so I can get the mod_rewrite to work. Ive been pulling my hair out for hours trying to figure it out. Ive also setup the site with Multiaccess to aleviate andy login issues.

ZED28 12-24-2005 04:27 PM

It's not too clear to me where I'm supposed to make the changes for this to work with VB 3.51. Can someone post the updated code please?

ZED28 12-26-2005 02:26 AM

NM guys, figured it out.


All times are GMT. The time now is 05:23 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01791 seconds
  • Memory Usage 1,744KB
  • 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_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