The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
PhotoPost vBGallery - Forum Home Details »» | |||||||||||||||||||||||||
Ok it's Beta time !!!!!
Please only install to beta test. Even thow I have it running there may be problems still in the works. (there were many countless errors in the past) - Feedback Please :squareeyed: /* -----------------12/13/2005 6:41pm ----------------- Add Gallery Images to your Forum Index v1.7 (vB 3.5) Tested on:
Demo: - http://www.gzhq.net/forums/index.php // ------------------------------------------------------ Overview:
Hack includes: - Hack Active (yes / no) - Enable Navbar (yes / no) - Image Count (number of images) - Image Order (Random, Newest, Most Views, Most Comment, Highest Rated) - Exclude Catagories - Only Catagories - On/Off options for all of the "info" per image - If gallery is not active hack will vanish (all usergroups) ** Admin will get "Alert: The gallery is currently turned off!" on FORUMHOME - If gallery settings of a usergroup does not see "thumbnails" the hack will vanish - No Template edits Change Log =========== 1.7 Beta 2 - 01.17.06 - Fixed usergroups not able to see the hack - Fixed sort order problems 1.7 - Install w/ product and 2 edits in 1 file. - Killed the need for FORUMHOME template edit. - AdminCP options to change the hack settings - Added: Parts of the gallery's Nav bar w/ dropdowns (My Stuff*, What's New, What's Popular,Search) to the hack with on/off option. * My Stuff will not be seen if you are a guest. 1.6 - Added: If the gallery is off or disabled the hack not show up. - Added: templates to support the hack vs. gallery templates (allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.) --------------------------------------------------*/ Whats Going On Please click " install " for updates Show Your Support
|
Comments |
#262
|
||||
|
||||
cool worked great thanks. and installed
|
#263
|
||||
|
||||
Quote:
Edit plugin: Forumhome: Gallery Cache Templates From: Code:
if (THIS_SCRIPT == 'index'){ $globaltemplates = array_merge($globaltemplates, array('adv_gallery_imagebit','forumhome_vbgallery','forumhome_vbgallery_newestbits','forumhome_vbgallery_nav',)); } Code:
if (THIS_SCRIPT == 'index'){ $globaltemplates = array_merge($globaltemplates, array('adv_gallery_imagebit','forumhome_vbgallery','forumhome_vbgallery_newestbits','forumhome_vbgallery_nav','forumhome_vbgallery_who',)); } Change: Code:
$search_text = '$navbar'; $vbulletin->templatecache['FORUMHOME'] = str_replace($search_text, $search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']); Code:
$search_text = '<!-- end logged-in users -->'; $vbulletin->templatecache['FORUMHOME'] = str_replace($search_text, $search_text.fetch_template('forumhome_vbgallery_who'),$vbulletin->templatecache['FORUMHOME']); Code:
<if condition="$gal_imagebits"> <tbody> <tr> <td class="thead" width="100%" colspan="6"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_gal')"><img id="collapseimg_forumhome_gal" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_gal].gif" alt="" border="0" /></a> <div class="smallfont"><b><a href="$vba_options[gallery_url]">$vba_options[gallery_title]</a></b></div> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_gal" style="$vbcollapse[collapseobj_forumhome_gal]"> <tr> <td rowspan="3" class="alt2" align="center"><img src="$stylevar[imgdir_misc]/gallery.gif" alt="" /></td> <td valign="top" align="left" class="alt1"> <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%"> <if condition="$vboptions[vbgnavbar] == '1'"> <td class="alt2" style="padding-top: 0; padding-bottom: 0" colspan="$vboptions[vbglimit]">$gallerynav</td> </if> <tr>$gal_imagebits</tr> </table> </td> </tr> </tbody> </if> - images/misc folder of each style |
#264
|
||||
|
||||
Don't know why.. but its not working on my forum (vb3.5.3 with photopost vbgallery 1.0.1). there is old hack for vBa Gallery which is still working even i updated to photopost vbgallery, but this hack not working :/
|
#265
|
||||
|
||||
Quote:
Hook Location : forumhome_complete - Edit: Forumhome: Gallery Main - Remove. Code:
if ($privatecatids = fetch_private_categories()) { $privatecatids = explode(',', $privatecatids); } if ($vba_options['gallery_homeexcats']) { $vba_options['gallery_homeexcats'] = explode(',', $vba_options['gallery_homeexcats']); if(empty($privatecatids)) { $privatecatids = $vba_options['gallery_homeexcats']; } else { $privatecatids = array_merge($privatecatids, $vba_options['gallery_homeexcats']); } } if (!empty($privatecatids)) { $privcatids = 'images.catid NOT IN(' . implode(',', $privatecatids) . ') AND '; } |
#266
|
|||
|
|||
For some reason guest's still cannot view the gallery.
I have followed all of the instructions on setting permission, I have set them thousands of times, I have even set the guests to have admin permission, but it still won't show up. Anyone know what I'm doing wrong? (attached) |
#267
|
||||
|
||||
Quote:
- Edit: Forumhome: Gallery Main, i've found bellow code, not those above. but i removed bellow codes, still same. not working :S Code:
if ($privatecatids = fetch_private_categories()) { $privatecatids = explode(',', $privatecatids); } if ($vba_options['gallery_homeexcats']) { $vba_options['gallery_homeexcats'] = explode(',', $vba_options['gallery_homeexcats']); $privatecatids = iif(empty($privatecatids), $vba_options['gallery_homeexcats'], array_merge($privatecatids, $vba_options['gallery_homeexcats'])); } if (!empty($privatecatids)) { $privcatids = 'images.catid NOT IN(' . implode(',', $privatecatids) . ') AND '; } |
#268
|
|||
|
|||
^^^ that does it
|
#269
|
||||
|
||||
Quote:
.... it doesn't work for registered users (doesn't show newest...just some old ones). It only shows newest images when logged in as admin. |
#270
|
|||
|
|||
Anyone who has this installed -- do you get a huge error on your forum home if you set it to show the top rated images? The only options that appears to work properly for all users is random.
-vissa |
#271
|
||||
|
||||
Hello, I'm using vba and vbulletin, this is my structure:
http://www.lottosqueeze.org (vba index) http://www.lottosqueeze.org/forum (forum home) The version of my board is vb 3.5.3 I have follow this steps: HTML Code:
*** How to Install: ====================== In your Admin Control Panel 1) Admincp => Plugin System => Manage Products Click [Add/Import Product] Browse for the file "product-gallery_home.xml" Allow Overwrite: On Import 2) // *Note: If you are doing an upgrade skip step "b" // - it should already be done. First, open your forum/index.php file and find: --------------------------------------------------- a) Find: $phrasegroups = array('holiday'); Replace with: $phrasegroups = array('holiday','adv_gallery'); --------------------------------------------------- b) Find 'mailqueue' --------------------------------------------------- Replace with: 'mailqueue', 'gallery_c_cache', 'adv_gallery_opt', 'gallery_ugroups' Admincp => vBulletin Options => vBGallery - Forumhome Change setting Save And all is done, If i try to open my forum home, I showing this page because dont work db comunication: http://www.lottosqueeze.org/garbage/snap.gif Why that? I like that Hack but how I fix this issue to works fine? Thanks in advance and Thanks for sharing this hack. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|