vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PhotoPost vBGallery - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=96152)

Dennis B 12-30-2005 05:22 PM

Quote:

Originally Posted by Zachariah
No no changes to the downloaded package yet.

- I am working with a heavy edited ver w/ many added bug fixes from the forums @ PP that was found and moved from advadvanced.

- I'll do a flat new install and see what I can come up with. This could take a little time. Don't have a lot of time @ moment.

Since I'm running 3.5.1 I'll also upgrade and enable the hacks one by one, starting with this one. This should sort it out. :)

Thx

XtremeOffroad 12-30-2005 05:53 PM

Very Nice
Clicks Install.
Anyway to add this to my portal?
thanks

Zachariah 12-30-2005 06:11 PM

Quote:

Originally Posted by XtremeOffroad
Very Nice
Clicks Install.
Anyway to add this to my portal?
thanks

CMPS (soon)
https://vborg.vbsupport.ru/showthrea...threadid=98982

Vportal (after)




- scrn shot
https://vborg.vbsupport.ru/attachmen...chmentid=40072

Landlord 01-02-2006 02:14 AM

ok i installed the plugin and i got this on my main index...

Warning: Unknown(./includes/functions_gallery.php): failed to open stream: No such file or directory in /index.php(470) : eval()'d code on line 3

Fatal error: (null)(): Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/local/lib/php') in /homepages/6/d93858489/htdocs/owa/forums/index.php(470) : eval()'d code on line 3

Zachariah 01-02-2006 08:16 AM

Quote:

Originally Posted by Landlord
ok i installed the plugin and i got this on my main index...


Warning: Unknown(./includes/functions_gallery.php): failed to open stream: No such file or directory in /index.php(470) : eval()'d code on line 3

Fatal error: (null)(): Failed opening required './includes/functions_gallery.php' (include_path='.:/usr/local/lib/php') in /homepages/6/d93858489/htdocs/owa/forums/index.php(470) : eval()'d code on line 3


Q: Do you have PhotoPost vBGallery or PRO gallery installed ?
- This hack is for vBGallery (aka. old vBAdvanced.com product).
- If you need forumhome for the PRO ver. try this. .

Snake 01-02-2006 08:32 AM

Installed! ;)

Landlord 01-02-2006 02:20 PM

Zachariah: Does that work with 3.5.2?

Zachariah 01-02-2006 02:46 PM

Quote:

Originally Posted by Landlord
Zachariah: Does that work with 3.5.2?

Yes
- Hit me up on IM (info in profile)

WhiteOx2 01-02-2006 09:38 PM

How can I move this to below the welcome box?
I had the previous version there but can't figure out how to move this one. :confused:

Zachariah 01-02-2006 11:40 PM

Quote:

Originally Posted by WhiteOx2
How can I move this to below the welcome box?
I had the previous version there but can't figure out how to move this one. :confused:

To make it a hackless install (no template edits) this places a template on an "anchor" within the FORUMHOME template.

Code:

$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']);

This says SEARCH for $navbar in template FORUMHOME and place template "forumhome_vbgallery" after.

Edit Plugin: Forumhome: Gallery Main
Find:
$search_text = '$navbar';

Change $navbar to where you wish to place the "BLOCK" of images.

<!-- what's going on box -->
- this will place the block above the what's going on box.

<!-- end what's going on box -->
- this will place the block below the what's going on box.

<body>
- this will place it above the header


-+-+-+-+-+-+-+-+

If you want to edit the forumhome template and place the block where you want vs. use an anchor:

Replace:
Code:

$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']);

with

Code:

eval('$vbgallery = "' . fetch_template('forumhome_vbgallery') . '";');
Edit FORUMHOME: Place in location of choice.
Code:

$vbgallery

docvader 01-03-2006 03:04 AM

Any way of making this work with Photopost PHP Pro???

WhiteOx2 01-03-2006 05:58 AM

Thankyou very much for that Zachariah. :)

GrendelKhan{TSU 01-03-2006 06:58 AM

Quote:

Originally Posted by GrendelKhan{TSU
yikes!
more bugs:

---Highest rated gives DATABASE ERROR!!! YIKES!!! o_0
---Most Comments --- give DIFFERENT listing for admin and registered users. :/
---Random: seems to work fine.
---Newest: as stated above.... doesn't work for registered users. works for admin.


any word on these bugs?

Zachariah 01-04-2006 01:26 PM

I can chop the hack up to be more simple and get a working solution.

- navbar on/off
- disable when gallery is off
- image count
- info on images or not
- include a,b,c catagory Only
- exclude x,y,z catagory Only
- switch(s) to allow usergroup or not

* this would not have gallery permissions
- If you want the images not to show in the hack you would have to "exclude" that catagory and all images in it.

thedvs 01-04-2006 09:20 PM

worked fine in 3.5.2

and works fine in 3.5.3 :)

swa 01-05-2006 04:16 AM

I'm having problem with guest unable to view the images. Tried changing the permission, but still no worky

loonytune15 01-05-2006 04:41 AM

How do I change where it shows up in the forumhome?

I want it to show under my welcome panel and shoutbox but above where my forums start. How do i edit the plugin to allow this?

Nice hack btw :D

swa 01-05-2006 05:20 AM

try this

Quote:

Originally Posted by Zachariah
To make it a hackless install (no template edits) this places a template on an "anchor" within the FORUMHOME template.

Code:

$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']);

This says SEARCH for $navbar in template FORUMHOME and place template "forumhome_vbgallery" after.

Edit Plugin: Forumhome: Gallery Main
Find:
$search_text = '$navbar';

Change $navbar to where you wish to place the "BLOCK" of images.

<!-- what's going on box -->
- this will place the block above the what's going on box.

<!-- end what's going on box -->
- this will place the block below the what's going on box.

<body>
- this will place it above the header


-+-+-+-+-+-+-+-+

If you want to edit the forumhome template and place the block where you want vs. use an anchor:

Replace:
Code:

$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']);

with

Code:

eval('$vbgallery = "' . fetch_template('forumhome_vbgallery') . '";');
Edit FORUMHOME: Place in location of choice.
Code:

$vbgallery


swa 01-05-2006 05:41 AM

If your having problem with Unregistered users not being able to view the gallery try changing "category permission" to "use custom permissions"

jarod1981? 01-05-2006 11:39 PM

Hi all

I have installed Photopost Gallery 1.0.1 for Vbulltin 3.5.2 and it's work fine :rolleyes:

When I install the Hack for the Forum Home, I have a little problem...because I dont' see the images on my forum but I see as here: Link

How Can I resolve this little problem?
The Gallery work, but i would see the images on my forum home :surprised:

Very Thanks

loonytune15 01-06-2006 01:52 AM

cool worked great thanks. and installed ;)

Zachariah 01-09-2006 02:31 AM

Quote:

Originally Posted by Snitz
i've done it and it's below the forums
but how can I put it inside the "what's going on"
I'd really like that!

Should be an opton in the next update:

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',));
}

To:
Code:

if (THIS_SCRIPT == 'index'){
        $globaltemplates  = array_merge($globaltemplates, array('adv_gallery_imagebit','forumhome_vbgallery','forumhome_vbgallery_newestbits','forumhome_vbgallery_nav','forumhome_vbgallery_who',));
}

Edit plugin: Forumhome: Gallery Main

Change:
Code:

$search_text = '$navbar';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery'),$vbulletin->templatecache['FORUMHOME']);

To:
Code:

$search_text = '<!-- end logged-in users -->';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_vbgallery_who'),$vbulletin->templatecache['FORUMHOME']);

Make template: forumhome_vbgallery_who
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>

Upload image: $stylevar[imgdir_misc]/gallery.gif
- images/misc folder of each style

soulface 01-11-2006 10:32 AM

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 :/

Zachariah 01-11-2006 12:59 PM

Quote:

Originally Posted by soulface
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 :/

For now Try:

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 ';
        }


boske 01-12-2006 12:10 PM

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)

soulface 01-12-2006 01:16 PM

Quote:

Originally Posted by Zachariah
For now Try:

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 ';
        }


In Hook Location : forumhome_complete
- 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 ';
        }


boske 01-13-2006 02:44 AM

^^^ that does it

GrendelKhan{TSU 01-13-2006 09:50 AM

Quote:

Originally Posted by GrendelKhan{TSU
any word on these bugs?

when I choose "Newest" for image order in admincp:
.... 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.

lazytown 01-14-2006 05:57 AM

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

Masiello 01-14-2006 08:06 AM

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'

3)
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.

lifesourcerec 01-14-2006 04:18 PM

Quote:

Originally Posted by Masiello
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'

3)
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.

I kept having the same problem which is why I uninstalled it.

italks 01-17-2006 04:16 AM

from where all the guys here gets PhotoPost vBGallery v1.0.1 (vB 3.5).

I purchased a license over there and i got Photopost Pro version 5.2.1.And when i tried to use this hack i get errors.Database errors.The index page was not working.

Zachariah 01-17-2006 01:13 PM

PhotoPost vBGallery v1.0.1 (vB 3.5)
- Is what this hack is for.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Photopost Pro version 5.2.1
- This gallery has a different hack.

Try this:
1) https://vborg.vbsupport.ru/showpost....&postcount=225

I do have a new beta hack for PRO that I am working on.

AdminCP settings
* Hack Active - yes/no
* Block Title - fill in blank
* File Path - fill in blank
* Image Order - newest, random, most viewed, top rated, most comments
* Image Count - enter value
* Number of Columns - enter value
* Exclude Catagories - enter value(s)
* Only Catagories - enter value(s)

2) http://www.photopost.com/forum/showthread.php?t=121970

Sean James 01-18-2006 11:45 AM

im having troubles with extra tables been shown on the forumhome page.

http://www.bluepearl-design.com/forums/

Thing is i only have this problem when i have the "forum_stats_in_header_template" hack installed and enabled. If i disable this hack the gallery tables go back to normal.

I am using these settings:
vba gallery
Number of Columns
The number of columns to display in a single row before splitting down to the next one. = 3

vBulletin
Image Count
How many images would you like to show ? = 3

Any ideas?

Zachariah 01-18-2006 07:56 PM

Quote:

Originally Posted by Griffin80
im having troubles with extra tables been shown on the forumhome page.

http://www.bluepearl-design.com/forums/

Thing is i only have this problem when i have the "forum_stats_in_header_template" hack installed and enabled. If i disable this hack the gallery tables go back to normal.

I am using these settings:
vba gallery
Number of Columns
The number of columns to display in a single row before splitting down to the next one. = 3

vBulletin
Image Count
How many images would you like to show ? = 3

Any ideas?

Do me a favor and test the Beta 2 I uploaded a day ago or so.
http://www.photopost.com/forum/showthread.php?t=121534

urcracer 01-18-2006 09:26 PM

I get an error installing this on my vbulletin 3.5.3. I followed directions in the readme.
This is what I get from the forum home:

"There seems to have been a problem with the "----- ---" Forums database."

Any help would be appreciated.

Zachariah 01-18-2006 09:48 PM

Change Log
===========
1.7 Beta 2
- Fixed usergroups not able to see the hack
- Fixed sort order problems

trackpads 01-18-2006 09:52 PM

Excellent work Zach!!

Zachariah 01-18-2006 10:07 PM

Quote:

Originally Posted by trackpads
Excellent work Zach!!

Thanks Sir, did you get a load of the CMPS block ?
- Maken VPortal blocks soon (after I get the gallery ready for an update :bunny: :eek: )
- If ya got some spare time hop in Mod area over @ the roost

trackpads 01-18-2006 10:19 PM

Quote:

Originally Posted by Zachariah
Thanks Sir, did you get a load of the CMPS block ?
- Maken VPortal blocks soon (after I get the gallery ready for an update :bunny: :eek: )
- If ya got some spare time hop in Mod area over @ the roost

Not yet, I have been swamped at work and on my masters. Bombd a class so this semester I have to spend more time on it.

I have been over to the site a few times but too busy to really look farther than the mods.

Your hacks are looking good and I am gonna test that mass edit one as well. Great work!!


All times are GMT. The time now is 04:07 AM.

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.01643 seconds
  • Memory Usage 1,872KB
  • 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
  • (16)bbcode_code_printable
  • (2)bbcode_html_printable
  • (15)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
  • (40)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