Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #132  
Old 03-16-2008, 01:40 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EnIgMa1234 View Post
To control the forumid add this conditional to your template

<if condition="in_array($forum[forumid], array(x,y))">
or for 1 id
<if condition="$forum[forumid] == x">
Where do I put that EnIgMa? And will this allow me to control it from the options in the AdminCP?
Reply With Quote
  #133  
Old 03-17-2008, 10:53 AM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be something like

<if condition="$forum[forumid] == x">
// YOUR TABLE CODE
</if>

where x is the forumid you want it to be in
Reply With Quote
  #134  
Old 03-17-2008, 01:13 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And this is going in the forumdisplay template?

Excuse me, I'm just a little lost. I've managed to put it in the forum of my choosing by using this code:
Code:
<if condition="$forumid == 7">$sotw</if>
In this case I replaced x with 7.

What I want to do is be able to choose, from the SOTW options in AdminCP, which forums I want it in.

Is that what you are providing with your code in post 132? If so, what template do I use this in?
Reply With Quote
  #135  
Old 03-18-2008, 01:03 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No this is not an admincp function, this allows you to change it via template

<if condition="$forumid == 7">$sotw</if> will show $sotw in forumid 7 only.

I will add a page in admincp for this in the next version.
Reply With Quote
  #136  
Old 03-19-2008, 12:47 AM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh. OK...

I had both (the single and multiple forum code) within the text document already.

That's cool that it will be on the next update. I know you're busy with RBS, but when do you think you will have an update for SOTW?
Reply With Quote
  #137  
Old 03-19-2008, 06:10 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No idea Lets see how things go
Reply With Quote
  #138  
Old 03-23-2008, 07:59 PM
aftermath29 aftermath29 is offline
 
Join Date: Nov 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well this looks good and it is up but cant get it to show a sig for the life of me [took this hack out]
Reply With Quote
  #139  
Old 03-24-2008, 03:29 AM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whats gone wrong?
Have you added $sotw to your forumhome template?
Reply With Quote
  #140  
Old 04-10-2008, 02:08 AM
Kadence Kadence is offline
 
Join Date: Nov 2004
Location: New Jersey
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod, I installed it

Is there any way to allow a moderator to edit the settings without giving them admincp access?
Reply With Quote
  #141  
Old 04-10-2008, 02:34 AM
Kadence Kadence is offline
 
Join Date: Nov 2004
Location: New Jersey
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, an admin says they can view the SOTW tab, but when they try to click settings they get the following error:
Code:
Sorry, you don't have permission to access the administrative controls on this page.

If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.
What permission setting controls this for admins?
Reply With Quote
Reply

Thread Tools

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 10:30 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.09048 seconds
  • Memory Usage 2,304KB
  • 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
  • (1)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