vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Sig Of The Week 1.3 (https://vborg.vbsupport.ru/showthread.php?t=153588)

dxlwebs 09-19-2008 08:29 AM

Quote:

Originally Posted by Bio-Con (Post 1625476)
ok have been using this mod for almost a year now...it works great on my 3.7.2 board...was wondering how would you make it show up in certain forums...saw this on the other sotw mod and trying to configure it with yours...if it can't or won't be able to be done then im sorry but i will have to uninstall after a year of using it and install the other one...this is the script edit for the other one..



i tried changing the $hs_sotw to $sotw...doesn't work...any ideas

hey yeah its possible and pretty easy to do to get it to display in forum display and after that your if code should work

step one in your admincp go to add new plugin,
product = vb area - SOTW Hack
Hook Location = forumdisplay - complete
Title = i called it SOTWinfodis but its upto you
Execution Order = 5
Plugin PHP Code =
Code:

//Pull info from the database

$query = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "sotw ORDER BY dateline DESC Limit 1");

while($sig = $vbulletin->db->fetch_array($query))
{
$snumber = $sig['id'];
$stitle = $sig['title'];
$threadurl = $sig['thread'];
$votes = $sig['votes'];
$susername = $sig['username'];
$suserid = $sig['userid'];
$imageurl = $sig['image'];
$date = vbdate($vbulletin->options['dateformat'], $sig['dateline']);
$next = $sig['next'];
$prize = $sig['prize'];
$adminrating = $sig['adminrating'];
}
eval('$sotw .= "' . fetch_template('enig_sotw') . '";');

Plugin is Active = yes
and save now you can do what you want with the SOTW in your forumdisplay.php file

hope this helps

if code
Code:

<if condition="in_array($forumid, array(88))">$sotw</if>

Zapper1 09-21-2008 03:36 PM

for some reason this will not work on my board. I had it installed and was able to display first first SOTW winner. Thenn after I tried to add the next winner I would get a blank image removed box.

Any ideas on why this would happen?

I am using Vb 3.7.2 with a custom skin from extreme pixels.

EnIgMa1234 09-22-2008 02:50 PM

sorry I have been away everyone. I guess I lost interest in coding for a while. Although this works for 3.7.x I am going to rewrite the mod. Now is the time to request features.

Zapper1 09-24-2008 02:33 PM

I have been trying to get this work but have had no luck at all. Want it need it but need help in the worst way..

EnIgMa1234 09-24-2008 06:46 PM

Quote:

Originally Posted by Zapper1 (Post 1629280)
I have been trying to get this work but have had no luck at all. Want it need it but need help in the worst way..

PM me. I'll see if I can get it installed for you ;)

Zapper1 10-01-2008 03:12 PM

that would be great Enigma1234.

lnxtr 12-11-2008 07:30 PM

thanks
it is run 3.7.4 version?

fattony69 12-21-2008 08:48 PM

Any updates?

Gamelobby 02-01-2009 01:37 AM

3.8 ??

EnIgMa1234 02-03-2009 05:17 PM

I don't have a vBulletin licence anymore so I won't be able to continue developing this mod.

Gamelobby 02-04-2009 04:19 PM

Thanks for the reply Enigma,

Can someone take this over, or does anyone know of another S.O.T.W. mod.?

EnIgMa1234 02-05-2009 11:30 PM

/* Deleted */

EnIgMa1234 04-09-2009 07:38 PM

Looks like I'm back after a turn of luck :)

I'll be updating all my mods to the latest version in the coming weeks and hopefully releasing some new ones too.

nyunyu 04-16-2009 11:48 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1787623)
Looks like I'm back after a turn of luck :)

I'll be updating all my mods to the latest version in the coming weeks and hopefully releasing some new ones too.

This is the best thing ever.
Welcome back!
Looking forward to see an updated mod especially this particular one.

EnIgMa1234 04-16-2009 11:58 PM

Quote:

Originally Posted by nyunyu (Post 1792911)
This is the best thing ever.
Welcome back!
Looking forward to see an updated mod especially this particular one.

SOTW is next in line :)

Hornstar 04-17-2009 12:11 AM

:) how exciting, I am still using this mod, but welcome any updates you offer :)

EnIgMa1234 04-21-2009 04:11 PM

Updated:
https://vborg.vbsupport.ru/showthread.php?t=211846

princeedward 04-22-2009 01:53 PM

thanks for this...looks good...but dunno how will this work... i mean the mechanics how the members will vote for the winner?... or how we find the winner? do you have any tutorial for this...i guess you don't or can't find...it to your Read Me Files..


best regards...

;)

EnIgMa1234 04-22-2009 02:43 PM

Quote:

Originally Posted by princeedward (Post 1796730)
thanks for this...looks good...but dunno how will this work... i mean the mechanics how the members will vote for the winner?... or how we find the winner? do you have any tutorial for this...i guess you don't or can't find...it to your Read Me Files..


best regards...

;)

Most users using this have a SOTW competitions forum. The admin starts a new thread every week/month and users vote from that thread. You then add the entry from the admincp.

princeedward 04-22-2009 03:08 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1796767)
Most users using this have a SOTW competitions forum. The admin starts a new thread every week/month and users vote from that thread. You then add the entry from the admincp.

thanks a lot for the fast reply...you mean do i have to make or create a poll thread for this one? so the winner is based on poll voting?

:)

EnIgMa1234 04-22-2009 03:15 PM

Quote:

Originally Posted by princeedward (Post 1796778)
thanks a lot for the fast reply...you mean do i have to make or create a poll thread for this one? so the winner is based on poll voting?

:)

You can do it whatever way you choose. It's just a simple case of you adding the winner via admincp once a winner is picked.

princeedward 07-26-2009 07:18 PM

is it possible to add the option where the Submission Of Entries Thread somewhere to the

Add New Entry ACP page? maybe we can add along this line...

SOTM History | Submit Entry | Next Month Voting

thanks and best regards...

InsomniacP 11-06-2010 10:58 AM

Can this please be ported over to 4...?


All times are GMT. The time now is 01:28 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.02402 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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