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 |
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 |
heya! it's quite possible they have changed in 3.5...
i'm not running it yet myself, but plan on doing so soon! |
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? |
Quote:
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 |
so, is there a way that works for vb 3.5.1? the one post before doesnt work for me :ermm:
|
Quote:
Sean |
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.
|
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?
|
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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|