vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - vBulletin Raffles (https://vborg.vbsupport.ru/showthread.php?t=262901)

JenniferK 11-20-2015 02:03 PM

Is there a way to remove the icon in the title of the forum block? I changed the title in phrases from Raffles to Raffles/Sweepstakes and now it is thrown off. I think it will fit if the little image is gone.

nhawk 11-20-2015 02:25 PM

Quote:

Originally Posted by JenniferK (Post 2559027)
Sorry to be a pain, but I tried to download the new update and I keep getting error - can't open anything.

Could you be more specific?

What error do you get and what can't you open?

nhawk 11-20-2015 02:41 PM

Quote:

Originally Posted by JenniferK (Post 2559027)
Is there a way to remove the icon in the title of the forum block? I changed the title in phrases from Raffles to Raffles/Sweepstakes and now it is thrown off. I think it will fit if the little image is gone.

Edit the raffle_sideblock template and remove the image from the <span class="blocktitle"> section.

JenniferK 11-20-2015 03:50 PM

Quote:

Originally Posted by nhawk (Post 2559028)
Could you be more specific?

What error do you get and what can't you open?

Sorry, worked it out. vBulletin.org was lagging for me during that time, so I think it was just getting hung up - I waited awhile and when the site was refreshing normally for me again, I tried and was able to download.

JenniferK 11-20-2015 03:51 PM

Quote:

Originally Posted by nhawk (Post 2559029)
Edit the raffle_sideblock template and remove the image from the <span class="blocktitle"> section.

Thanks once again for the quick reply!

HM666 02-15-2016 11:49 PM

Having an issue on a web site after upgrading to vBulletin 4.2.3 and moving the site to another server. On one admin account I get this error at the top of the left hand menu (the other admin accounts seem to be just fine):

Code:

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

We are running vBulletin 4.2.3, PHP 5.6.17 & MySQL 5.5.48.

nhawk 02-16-2016 10:36 AM

Quote:

Originally Posted by HM666 (Post 2565000)
Having an issue on a web site after upgrading to vBulletin 4.2.3 and moving the site to another server. On one admin account I get this error at the top of the left hand menu (the other admin accounts seem to be just fine):

Code:

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 52

We are running vBulletin 4.2.3, PHP 5.6.17 & MySQL 5.5.48.

It looks like there was a problem with the database that was moved to the new server and that field is not in the database. If you used impex to import the old server's database, that would be the cause. Impex does not import custom fields.

Reinstalling the add-on should fix the problem. Or it could be just as simple as setting the 'Can Administer Raffles' permission for the admin (though I doubt it).

HM666 02-17-2016 02:48 AM

Quote:

Originally Posted by nhawk (Post 2565048)

Reinstalling the add-on should fix the problem. Or it could be just as simple as setting the 'Can Administer Raffles' permission for the admin (though I doubt it).

I tried to give the permissions before I posted it did not work. I'll give reinstalling a try. Thanks.


EDIT: Did not help at all. I even uninstalled the old one and installed the new one and I still get the errors:

Code:

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50

PHP Warning: Illegal string offset 'raffleadminperms' in ..../includes/adminfunctions.php(2158) : eval()'d code on line 50

The other warnings from the post above were due to another mod I found out. Here is the PHP code for lines 44-57 on adminfunctions.php...

PHP Code:

    switch(VB_AREA)
    {
        case 
'AdminCP':
            
$pagetitle $vbphrase['admin_control_panel'];
            
$getcssoptions fetch_cpcss_options();
            
$cssoptions = array();
            foreach (
$getcssoptions AS $folder => $foldername)
            {
                
$key iif($folder == $vbulletin->options['cpstylefolder'], ''$folder);
                
$cssoptions["$key"] = $foldername;
            }
            
$showoptions true;
            
$logintype 'cplogin';
        break; 

Possibly the mod is not compatible with our PHP version? We are running PHP 5.6.17.

nhawk 02-17-2016 10:00 AM

Quote:

Originally Posted by HM666 (Post 2565084)
The other warnings from the post above were due to another mod I found out. Here is the PHP code for lines 44-57 on adminfunctions.php...

PHP Code:

    switch(VB_AREA)
    {
        case 
'AdminCP':
            
$pagetitle $vbphrase['admin_control_panel'];
            
$getcssoptions fetch_cpcss_options();
            
$cssoptions = array();
            foreach (
$getcssoptions AS $folder => $foldername)
            {
                
$key iif($folder == $vbulletin->options['cpstylefolder'], ''$folder);
                
$cssoptions["$key"] = $foldername;
            }
            
$showoptions true;
            
$logintype 'cplogin';
        break; 

Possibly the mod is not compatible with our PHP version? We are running PHP 5.6.17.

I doubt the PHP version has anything to do with it. I'd suggest either posting in the other add-on's thread, or changing the execution order of the admin plugins. Sometimes changing execution order is all that's needed when there's a clash between add-ons.

HM666 02-19-2016 11:52 AM

Quote:

Originally Posted by nhawk (Post 2565098)
I doubt the PHP version has anything to do with it. I'd suggest either posting in the other add-on's thread, or changing the execution order of the admin plugins. Sometimes changing execution order is all that's needed when there's a clash between add-ons.

Just an update....come to find out the other errors had nothing to do with the other mods, the errors was just this mod. I disabled this mod & left the other ones I though causes a problem enabled and got no errors. I really think it had to do with that one admin account, luckily we have not officially launched the site yet so I just deleted that account and now there are no errors.


All times are GMT. The time now is 01:44 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
  • Page Generation 0.01719 seconds
  • Memory Usage 1,766KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)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