![]() |
And the beta gives me these errors:
Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231 Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231 Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231 Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231 Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231 Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231 Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427 Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427 Warning: Division by zero in /includes/functions_gallery.php on line 1134 |
Did you do the file edit on: forums/index.php // you also have to make the Template change that is in the main Zip file.
The Beta is only the XML file of the hack. Quote:
|
^^ Yes.
|
Ok Ive gotten rid of the error (made a silly mistake i wont even mention hehe) and now it "works", but it doesnt actually display any photos.
http://www.streethop.com/forum/ |
Alright, the beta seems to work now, great.
|
Change Log
=========== 1.5 - <If> usergroup can not see thunbnails FORUMHOME edit will not show up. 1.4 - Removed Phrase to name gallery <table> now use $vba_options[gallery_title] - Added 3 prases in "global" - filesize,category,dimensions Upgrade needs a reinstall of XML product over the old one and replace FORUMHOME template edit. The file edit did not change. |
Hi Zachariah,
I updated to 1.5 and still get the error: Parse error: parse error in /path/forum/index.php(470) : eval()'d code on line 141 I want to use this hack so let find out how to solve this :D |
Quote:
Take a look @ syntax - perhaps a space or " ' ; that was removed. Looking @ the index.php file around that area it is erroring, perhaps another hack you have installed ? // ### TODAY'S EVENTS line 141 Code:
if (!is_array($vbulletin->eventcache) OR $future != $vbulletin->eventcache['date']){ |
Quote:
|
Quote:
I realy should of changed it to the same value as $galleryimagelimit so that when changes are made to the # of images show, it fixes the size of the table. That was in the original hack. Perhaps if there is something else to add / fix I'll sneak it in. |
Quote:
Event Forums 1.0 Creates tight integration between a forum and a calendar. but even if I deactive this its not working. |
btw...
are there any specific instructions for upgrading? or do I just upload the product with overwrite ON? just checking. :) |
hehe if i turn the TITLE on, its now showing at the bottom of the thumbs,
on the beta it was above... |
Quote:
Upgrade needs a reinstall of XML product over the old one and replace FORUMHOME template edit. The file edit did not change. |
My little...........bar in the header doesn't go all the way across the template and I can't find where to change that at. Can someone help me on this please? Thanks. (See attachment to see what I mean)
|
@NRR see post https://vborg.vbsupport.ru/showpost....3&postcount=52
|
Quote:
|
I get this:
Fatal error: Call to a member function on a non-object in /home/usr/public_html/forums/includes/functions_gallery.php on line 1082 |
Quote:
$images['description'] = $bbcode_parser->do_parse(stripslashes($images[' ......................... (there is more, but i killed the rest) Set: $showfields['description'] = 0; There may be problems with the "description" part of the hack. Try that to see if it works. |
Quote:
the same problem .. :ninja: would you kindly see over it ..? |
i tried to cedit (each) group permission and save it as it is, in order to change it from (Default Permissions ) to (Custom Permissions) .. ( and it works properly :) .. )
Nutzz, try to do it from (Category Permissions > and change the yellow color to red ) .. :) |
@mooj and others.
The only thing that will stop the images from showing up on the forumhome is in ver. 1.5 of the hack. 1.5 - <If> usergroup can not see thunbnails FORUMHOME edit will not show up. AdminCP => vBa Gallery => Usergroup Permissions => Modify Permissions => Can view thumbnails: [ ]yes [x]no |
Quote:
I'm also glad to say it's working fine on this end :D Any plans on releasing this as a CMPS Module? |
Quote:
|
Quote:
|
Works great, thanks. :D
|
Quote:
Thank you, Michael |
Quote:
Quote:
If you'll look in your includes/functions_gallery.php file for this code: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
There definitely was a whitespace error inside my functions_gallery - but it did not remedy the situation. Zachariah - can I send you my existing functions_gallery.php file so you can compare it to yours? (or the other way around, whichever...)
Perhaps you can do a live swap to see if there is another whitespace error somewhere inside that file that I didn't see - at least it could be ruled out that way anyway. Seems to have to do something with the actual parsing function itself - because I've found if the images it pulls up have no image descriptions at all - the page loads fine. Doesn't seem to effect it one way or the other if I disable or enable the display descriptions inside the mod you've made though. |
anyway to make this work so that the images are shown only in a specific forumdisplay rather than the forumhome?
eg if i have a movie forum, then in that forumdisplay i want to show the images from the gallery (moovie subsection) |
Quote:
This hack edits forums/index.php. To show on a fourmdisplay there will have to be some edits to forumdisplay.php and/or showthread.php. Untill VB DEVS re-code $specialtemplates to allow a plugin. |
hmm ok ready to do file edits if that can be done.
can you give the code if its possible :) |
Quote:
1) edit plugin: Forumhome: Gallery Main change hook to: forumdisplay_complete 2) edit forumdisplay.php PHP Code:
Now add the following in your 'FORUMDISPLAY' template where you would like the images to appear change $forumid to forums you want. Code:
<!-- start Gallery Images --> edit: showthread.php HTML Code:
Find Now add the following in your 'SHOWTHREAD' template where you would like the images to appear change $forumid to forums you want. Code:
<!-- start Gallery Images --> |
Quote:
Plugin: Forumhome: Gallery Main Find: require_once('./includes/class_bbcode.php'); after add: $show['category'] = true; |
Quote:
Thank you so much for looking into this for me. I have added the code as per your instructions and I get the same error. Thank you, Michael |
I opted to use this http://www.vbadvanced.com/forum/showthread.php?t=10224
Until we can figure out why the call member function is not working correctly for me. Thank you! Michael |
Quote:
where is this code located? |
Quote:
Old code: now looks like this. USEAGE: When you create the Module: Title Row Colspan: image count (you choose a value) Admincp => Plugin Manager => Hook Location : forumhome_complete => Forumhome: Gallery Main => EDIT Code:
// If you HASH out "$catlimit" images will pull from all categories. |
I had some serious problems when I installed this. It worked at first, but then threw off my entire forum. I'd like to run it, so please let me know when there is an update or other people are running this stable.
-V |
All times are GMT. The time now is 06:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|