Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Sig Of The Week 1.3 Details »»
Sig Of The Week 1.3
Version: 1.3.1, by EnIgMa1234 EnIgMa1234 is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 07-26-2007 Last Update: 11-06-2007 Installs: 102
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

/*============================================*\
|| Sig Of The Week 1.3
||
||
|| Author : EnIgMa1234
|| Version : 1.3
||
|| Time required to install: 2 min
|| Difficulty: easy
\*============================================*/

Description: Add a signature of the week page to your forumhome page

Install:
1) Upload files
2) Add Products
3) Add into forumhome template:
Code:
$sotw

Features:
See screenshots


Change Log:
1.0 -> Initial Release
1.0 -> 1.1 - Added History page
1.1 -> 1.2 - Added Adminrating and Prize Field
Admin now able to input full urls.
New Design
1.2 -> 1.3 - Fixed template issue
Added Edit ability
Only 1 Admincp File
Fixed Admincp File Issue
1.3 -> 1.3.1 - Fixed Sig History Error

Demo: Coming Soon


This hack is (c) 2007 TheVBCoders.com

Do Not Reproduce Without My Permission Or Post Elsewhere
Do not copy a large proportion of this code.


Priority Support Will Be Given To Those Who Click Install!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 09-19-2008, 08:29 AM
dxlwebs dxlwebs is offline
 
Join Date: Jun 2008
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bio-Con View Post
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>
Reply With Quote
  #163  
Old 09-21-2008, 03:36 PM
Zapper1 Zapper1 is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #164  
Old 09-22-2008, 02:50 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #165  
Old 09-24-2008, 02:33 PM
Zapper1 Zapper1 is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #166  
Old 09-24-2008, 06:46 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zapper1 View Post
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
Reply With Quote
  #167  
Old 10-01-2008, 03:12 PM
Zapper1 Zapper1 is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that would be great Enigma1234.
Reply With Quote
  #168  
Old 12-11-2008, 07:30 PM
lnxtr lnxtr is offline
 
Join Date: Jun 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
it is run 3.7.4 version?
Reply With Quote
  #169  
Old 12-21-2008, 08:48 PM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates?
Reply With Quote
  #170  
Old 02-01-2009, 01:37 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.8 ??
Reply With Quote
  #171  
Old 02-03-2009, 05:17 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09852 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete