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)

hotrod122 06-06-2011 12:49 AM

i have yet been able to get PM's to work...
I (administrator) do not get a PM and neither does the winner.

no special permissions are set...any registered user or better can enter...
i have ran 3 test raffles with 3 different versions and no go.

VB 4.13

am i missing something?

update:
if i manually end a raffle.. it sends the PM's...but if i let it run to the end and auto-draw it WILL NOT send PM's...

nhawk 06-06-2011 12:27 PM

Quote:

Originally Posted by hotrod122 (Post 2204090)
i have yet been able to get PM's to work...
I (administrator) do not get a PM and neither does the winner.

no special permissions are set...any registered user or better can enter...
i have ran 3 test raffles with 3 different versions and no go.

VB 4.13

am i missing something?

update:
if i manually end a raffle.. it sends the PM's...but if i let it run to the end and auto-draw it WILL NOT send PM's...

Thank you.

Fixed in version 1.1.6.

NOTE: I strongly recommend that anyone running versions 1.0.6 through 1.1.5 update to version 1.1.6. The bug was introduced in version 1.0.6.

BadgerDog 06-06-2011 01:51 PM

Updated with thanks ... :)

Regards,
Doug

hotrod122 06-07-2011 01:18 AM

Thanks VERY MUCH!!!

ChromeDome 06-07-2011 02:31 AM

Quote:

Originally Posted by Harley D (Post 2203332)
Care to share that fix?

To fix my image alignment issue on the raffle detail page, I edited the raffle_detail template by commenting out the stats that appear on the top left of the page. I also commented out the <div> statement around the raffle prize image and created my own.

Here's a piece of my raffle_detail template. Don't know if it will help.
Code:

<!-- main -->
<div class="rafflerow table">
        <p class="raffledetailtitle">{vb:raw detail.name}</p>
<!--        <ul class="detailstats">
                <li>{vb:rawphrase raffle_status}: {vb:raw detail.status}</li>
                <li>{vb:rawphrase raffle_startdate}: {vb:raw detail.startdate}</li>
                <li>{vb:rawphrase raffle_lastentrydate}: {vb:raw oneless}</li>
                <li>{vb:rawphrase raffle_drawdate}: {vb:raw detail.enddate}<vb:if condition="$vboptions['raffle_showtime']"> {vb:raw draw_time}</vb:if> </li>
                <vb:if condition="$detail['cost']"><li>
                <vb:if condition="$creditsystem == 1">{vb:rawphrase raffle_ticket_cost}: {vb:rawphrase raffle_currency_symbol}{vb:raw detail.cost}</vb:if>
                <vb:if condition="$creditsystem == 2 || $creditsystem == 3">{vb:rawphrase raffle_creditcost}: {vb:raw detail.cost}</vb:if>
                </li></vb:if>
                <li>{vb:rawphrase raffle_shortentries}: {vb:raw detail.numentries}</li>
                <vb:if condition="!$waittime && $detail['maxperiod'] > 1"><li>{vb:rawphrase raffle_entry_upto, {vb:raw detail.maxperiod}}</li></vb:if>
                <vb:if condition="$waittime"><li><vb:if condition="$detail['maxperiod'] > 1">{vb:rawphrase raffle_enter_every, {vb:raw detail.maxperiod}, {vb:rawphrase raffle_plural}}<vb:else />{vb:rawphrase raffle_enter_once}</vb:if> {vb:raw waittime}</li></vb:if>
                <li>{vb:rawphrase raffle_numprizes}: {vb:raw detail.numprizes}</li>
                <vb:if condition="$detail['winner'] != ''"><li>{vb:rawphrase raffle_winner}<vb:if condition="$multiple">{vb:rawphrase raffle_plural}</vb:if>: {vb:raw detail.winner}</li></vb:if>
                <vb:if condition="$vboptions['raffle_allowlist']"><li>&nbsp;</li><li><a href="raffles.php?{vb:raw session.sessionurl}do=entries&amp;id={vb:raw detail.id}">{vb:rawphrase raffle_viewentrylist}</a></li></vb:if>
        </ul> -->
<!--        <div class="detailimg"> -->
<div style="display: block;float:center;text-align:center;"><IMG SRC="{vb:raw detail.prizeimg}" alt="{vb:raw raffle.name}"></div>
<!--        </div> -->


Harley D 06-08-2011 05:11 PM

Quote:

Originally Posted by ChromeDome (Post 2204476)
To fix my image alignment issue on the raffle detail page, I edited the raffle_detail template by commenting out the stats that appear on the top left of the page. I also commented out the <div> statement around the raffle prize image and created my own.

Here's a piece of my raffle_detail template. Don't know if it will help.
Code:

<!-- main -->
<div class="rafflerow table">
        <p class="raffledetailtitle">{vb:raw detail.name}</p>
<!--        <ul class="detailstats">
                <li>{vb:rawphrase raffle_status}: {vb:raw detail.status}</li>
                <li>{vb:rawphrase raffle_startdate}: {vb:raw detail.startdate}</li>
                <li>{vb:rawphrase raffle_lastentrydate}: {vb:raw oneless}</li>
                <li>{vb:rawphrase raffle_drawdate}: {vb:raw detail.enddate}<vb:if condition="$vboptions['raffle_showtime']"> {vb:raw draw_time}</vb:if> </li>
                <vb:if condition="$detail['cost']"><li>
                <vb:if condition="$creditsystem == 1">{vb:rawphrase raffle_ticket_cost}: {vb:rawphrase raffle_currency_symbol}{vb:raw detail.cost}</vb:if>
                <vb:if condition="$creditsystem == 2 || $creditsystem == 3">{vb:rawphrase raffle_creditcost}: {vb:raw detail.cost}</vb:if>
                </li></vb:if>
                <li>{vb:rawphrase raffle_shortentries}: {vb:raw detail.numentries}</li>
                <vb:if condition="!$waittime && $detail['maxperiod'] > 1"><li>{vb:rawphrase raffle_entry_upto, {vb:raw detail.maxperiod}}</li></vb:if>
                <vb:if condition="$waittime"><li><vb:if condition="$detail['maxperiod'] > 1">{vb:rawphrase raffle_enter_every, {vb:raw detail.maxperiod}, {vb:rawphrase raffle_plural}}<vb:else />{vb:rawphrase raffle_enter_once}</vb:if> {vb:raw waittime}</li></vb:if>
                <li>{vb:rawphrase raffle_numprizes}: {vb:raw detail.numprizes}</li>
                <vb:if condition="$detail['winner'] != ''"><li>{vb:rawphrase raffle_winner}<vb:if condition="$multiple">{vb:rawphrase raffle_plural}</vb:if>: {vb:raw detail.winner}</li></vb:if>
                <vb:if condition="$vboptions['raffle_allowlist']"><li>&nbsp;</li><li><a href="raffles.php?{vb:raw session.sessionurl}do=entries&amp;id={vb:raw detail.id}">{vb:rawphrase raffle_viewentrylist}</a></li></vb:if>
        </ul> -->
<!--        <div class="detailimg"> -->
<div style="display: block;float:center;text-align:center;"><IMG SRC="{vb:raw detail.prizeimg}" alt="{vb:raw raffle.name}"></div>
<!--        </div> -->


Thank You,
I'll give this a shot.

nhawk 06-08-2011 05:47 PM

Quote:

Originally Posted by Harley D (Post 2205137)
Thank You,
I'll give this a shot.

Your problem is the picture is too large to fit in the area provided.

I've released an update today that allows the maximum picture width to be set for the raffle detail page.

In your case I think that picture is 600 pixels wide, set the new option in Raffle Setting to either 400 or 500 and the picture will then fit.

The only problem I ever had with allowing picture resizing on that page is that smaller pictures will be increased in size, degrading the quality of the picture. But, people seem to want it so I released it.

ChromeDome 06-15-2011 03:01 AM

I'm running 1.1.5 and want to upgrade. How should I do this while preserving my template changes? D I just need to re-edit the templates after the upgrade?

nhawk 06-15-2011 09:12 AM

Quote:

Originally Posted by ChromeDome (Post 2207908)
I'm running 1.1.5 and want to upgrade. How should I do this while preserving my template changes? D I just need to re-edit the templates after the upgrade?

Yes, easiest would be to copy your template changes to notepad and paste them back in after updating.

The only thing you might want to do is to look at the included template before you replace it. Look for picturewidth and pictureheight and include them in your template if you want.

Which, by the way.. I do like what you did with the template. ;)

ChromeDome 06-15-2011 04:40 PM

Thanks! ;) I've been getting a bunch of ad clicks on my raffle page, especially on the text links surrounding the raffle details:
http://www.chromebookuser.com/raffle...do=raffle&id=1

I encourage others to do the same.

it would be nice if I could specify a minimum number of entrants. For example, I may want 100 people to enter the drawing before a winner is selected. I would use this with or without the raffle start/end dates.


All times are GMT. The time now is 11:40 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.01533 seconds
  • Memory Usage 1,761KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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