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)

Rukas 10-12-2005 03:25 AM

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

Zachariah 10-12-2005 03:43 AM

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:

Originally Posted by Rukas
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


Rukas 10-12-2005 04:19 AM

^^ Yes.

Rukas 10-12-2005 04:24 AM

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/

Rukas 10-12-2005 04:25 AM

Alright, the beta seems to work now, great.

Zachariah 10-12-2005 04:18 PM

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.

jluerken 10-12-2005 05:44 PM

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

Zachariah 10-12-2005 06:50 PM

Quote:

Originally Posted by jluerken
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

I have not ran into this error.
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']){
Did you add a plugin for the calendar or something to do w/ events or birthdays?

mholtum 10-12-2005 06:51 PM

Quote:

Originally Posted by Zachariah
Number of Columns
The number of columns to display in a single row before splitting down to the next one.

AdminCP - vBa Gallery - Modify Settings - Browse Category Options - Number of Columns:


If that changes other things on your site you do not want Changed below to the # of images you wish to show up.


This is the code you were told to paste into your forumhome.
Code:

<!-- start Gallery Images -->
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
    <td class="tcat" colspan="$vba_options[gallery_columns]">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_gallery_random')">


Works like a friggen charm. After I read this post 12 times trying to figure out exactly what you meant. I have been on a steady diet of some pretty heavy pain meds for the last 6 weeks trying to recover from, well, anyway, today is my first day out of bed and I have upgraded my site and have almost everything ready again.. I have been starinig at this post ( all three of them) for the last 20 minutes and it finally sunk in... I need a beer. Thanks man..

Zachariah 10-12-2005 06:56 PM

Quote:

Originally Posted by mholtum
... I need a beer. Thanks man..

Don't drink them all :D - Its what gets me past the parse errors durring code.

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.


All times are GMT. The time now is 11:44 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.01433 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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