vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Everywhere Sidebar 4 VB4 (https://vborg.vbsupport.ru/showthread.php?t=233871)

KevinL 05-10-2012 04:11 PM

Hello,

How can we have this not show on the Registration page? We get this error when either logging in or out. Or registering of course.

Code:

Fatal error: Cannot redeclare find_in_array() (previously declared in /home/xxxx/public_html/forum/global.php(29) : eval()'d code:44) in /home/xxxx/public_html/forum/includes/functions.php(3848) : eval()'d code on line 41

almannai 05-10-2012 05:28 PM

Quote:

Originally Posted by draver (Post 2327976)
That's the mystery. All files are available in the right directory.

The code:

Code:

<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00010l/forumbits.css,forumhome.css,widgets.css,sidebar.css,options.css,tagcloud.css" /><!--[if IE 6]><link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00010l/forumbits-ie.css" /><![endif]--><!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00010l/forumbits-ie.css,sidebar-ie.css" /><![endif]--><link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00010l/additional.css?d=1336644337" />

Quote:

Originally Posted by almannai (Post 2328009)
I need to see your website!!!

Thank you PMing your website. Can you please try to open the site and see if this error exist?

Quote:

Originally Posted by KevinL (Post 2328094)
Hello,

How can we have this not show on the Registration page? We get this error when either logging in or out. Or registering of course.

Code:

Fatal error: Cannot redeclare find_in_array() (previously declared in /home/xxxx/public_html/forum/global.php(29) : eval()'d code:44) in /home/xxxx/public_html/forum/includes/functions.php(3848) : eval()'d code on line 41

What is your website address?

draver 05-11-2012 07:08 AM

Quote:

Originally Posted by almannai (Post 2328151)
Thank you PMing your website. Can you please try to open the site and see if this error exist?

It makes no difference.

KevinL 05-11-2012 10:57 AM

Quote:

Originally Posted by almannai (Post 2328151)

What is your website address?

Sent you a pm.

Thanks!

almannai 05-11-2012 12:07 PM

Quote:

Originally Posted by KevinL (Post 2328355)
Sent you a pm.

Thanks!

I got your pm.

You edited the mod but you didn't send the code so that I can help you.

Please send all changes you made to be able to direct you to avoid the error you are having.

KevinL 05-11-2012 01:42 PM

Quote:

Originally Posted by almannai (Post 2328378)
I got your pm.

You edited the mod but you didn't send the code so that I can help you.

Please send all changes you made to be able to direct you to avoid the error you are having.

Hello,

I sent you the exact changes we made.

We edited this function:

original -

function rebuild_sidebar($sidebar_obj,$sidebar_str){

Edited -

function rebuild_sidebar_notnow($sidebar_obj,$sidebar_str){



Like explained, we changed this so custom blocks will show. Right now with that function custom HTML blocks do not show.

Thanks!

KevinL 05-11-2012 01:57 PM

Quote:

Originally Posted by almannai (Post 2328378)
I got your pm.

You edited the mod but you didn't send the code so that I can help you.

Please send all changes you made to be able to direct you to avoid the error you are having.

Quote:

Originally Posted by KevinL (Post 2328409)
Hello,

I sent you the exact changes we made.

We edited this function:

original -

function rebuild_sidebar($sidebar_obj,$sidebar_str){

Edited -

function rebuild_sidebar_notnow($sidebar_obj,$sidebar_str){



Like explained, we changed this so custom blocks will show. Right now with that function custom HTML blocks do not show.

Thanks!

Changing back the function and using the code below works but then it triples the blocks.

Quote:

Originally Posted by Luerssen (Post 2309442)
ESidebar's code are so f... ugly... btw:

If you're using HTML blocks (especially <li> tag), you could notify that 1.5.0 broke your footer. Here's how to fix this:

Go to Plugins -> Modules, find module "sidebar_global", edit it:

Find
PHP Code:

$fullblocks explode('<li>',$sidebar_str); 

Replace with
PHP Code:

#$fullblocks = explode('<li>',$sidebar_str);
# fix by Arhivarius @ Forum-Grad
$fullblocks preg_split("/<li>\s+<div class=\"block/i"$sidebar_str); 



KevinL 05-11-2012 02:03 PM

Quote:

Originally Posted by KevinL (Post 2328416)
Changing back the function and using the code below works but then it triples the blocks.

Changing back the function to default and using capital 'Ul' and 'Li' works but than it doubles the blocks :/

almannai 05-11-2012 03:44 PM

Quote:

Originally Posted by KevinL (Post 2328409)
Hello,

I sent you the exact changes we made.

We edited this function:

original -

function rebuild_sidebar($sidebar_obj,$sidebar_str){

Edited -

function rebuild_sidebar_notnow($sidebar_obj,$sidebar_str){



Like explained, we changed this so custom blocks will show. Right now with that function custom HTML blocks do not show.

Thanks!


Quote:

Originally Posted by KevinL (Post 2328418)
Changing back the function to default and using capital 'Ul' and 'Li' works but than it doubles the blocks :/

Don't know what you want? You started that you have error in the registration page !!!

Anyway i advice you to use the default mod don't use codes from here and there. If in some cases you have a <li> tag in some custom block then just replace the <li></li> with <LI></LI> in the custom block and you are done.

Regards,

KevinL 05-11-2012 03:53 PM

Quote:

Originally Posted by almannai (Post 2328458)
Don't know what you want? You started that you have error in the registration page !!!

Anyway i advice you to use the default mod don't use codes from here and there. If in some cases you have a <li> tag in some custom block then just replace the <li></li> with <LI></LI> in the custom block and you are done.

Regards,

Hello,

Did you read all my posts? Without the edit it it doubles the blocks. Even using the Li Ul

So any suggestions?


All times are GMT. The time now is 02:03 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.03208 seconds
  • Memory Usage 1,765KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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