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)

qpurser 08-06-2015 01:51 PM

Quote:

Originally Posted by nhawk (Post 2552243)
Go to ACP->Raffles->Edit Raffles and click on the raffle name. Take a screenshot of the screen and post it here.

Here is the screenshot

nhawk 08-06-2015 02:39 PM

Quote:

Originally Posted by qpurser (Post 2552244)
Here is the screenshot

I can't duplicate this now at all.

What version of vB are you running so I can try doing a fresh install on the same version.

qpurser 08-06-2015 03:09 PM

Quote:

Originally Posted by nhawk (Post 2552250)
I can't duplicate this now at all.

What version of vB are you running so I can try doing a fresh install on the same version.

4.2.0

qpurser 08-06-2015 03:31 PM

Hey bud,
I solved the issue.
I completely uninstalled the Mod. Uploaded all files from 145 again and reimported the new XML.
Now it works.

Once again thanks for this Mod and taking your time to solve our issues

HM666 10-28-2015 09:15 PM

Hi, I've installed this and all seems to work fine except I cannot make an entry. I was able to create a new raffle and it shows up but you cannot enter it there is no button. What am I missing? Let me know what you need to pinpoint the issue.

Here is what I see,I cannot figure out why it says Waiting for the drawing when it did not start yet. :(

This is installed on a vB 4.2.2 forum.

nhawk 10-28-2015 09:30 PM

Your end date is wrong. You have it ending in 2002.

HM666 10-29-2015 04:02 PM

Quote:

Originally Posted by nhawk (Post 2557796)
Your end date is wrong. You have it ending in 2002.

Thanks that fixed it. It automatically put that date in. I had it set on 2015...weird.

JenniferK 11-18-2015 07:13 PM

I am having a problem. I set up a test raffle with no problem, but it is not showing up in the side column. Show in Forum Sidebar is checked yes in settings. I can see the forum block was created and is active in Forum Blocks Manager. Though when I look at the Active Raffles block, there is nothing there. It is listed as a php type, but the content area is blank.

nhawk 11-18-2015 07:53 PM

Quote:

Originally Posted by JenniferK (Post 2558956)
I am having a problem. I set up a test raffle with no problem, but it is not showing up in the side column. Show in Forum Sidebar is checked yes in settings. I can see the forum block was created and is active in Forum Blocks Manager. Though when I look at the Active Raffles block, there is nothing there. It is listed as a php type, but the content area is blank.

Thanks for letting me know. I just posted the fix.

JenniferK 11-18-2015 08:48 PM

Wow - that was fast! Thank you!

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 08:52 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.01726 seconds
  • Memory Usage 1,811KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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