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)
-   -   Mini Mods - Require Post Icon (https://vborg.vbsupport.ru/showthread.php?t=128899)

Adrian. 10-11-2006 10:00 PM

Require Post Icon
 
Require Post Icon
Made by Adrian at Dreamit.co.uk
Tested on 3.6.1


Hey,

This mod' requires the user to select a post icon when making a new thread.
As requested here.

Installation
Import product-requireicon.xml

Template Edit:
Go to the style manager, select the template you wish to edit.

Open Postbit Templates ? posticons

Find:
HTML Code:

<td width="12%" nowrap="nowrap"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked />$vbphrase[no_icon] &nbsp; &nbsp;</label></td>
Replace With:
HTML Code:

<if condition="$vboptions['requireicon_enable'] == 1">
                                <td width="12%" nowrap="nowrap"><input type="hidden" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked /></td>
                        <else />
                        <td width="12%" nowrap="nowrap"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked />$vbphrase[no_icon] &nbsp; &nbsp;</label></td>
                        </if>

Done. :)

Simple.

If you installed this, please click install. :)

Thanks.

Adrian

Allan 10-12-2006 09:46 AM

Very nice, i like it, big thank ;)

Click Install ^^

EvilHawk 10-12-2006 09:47 AM

Suggestion: A per forum setting will copliment this product ... ;)

clicks install ..

Adrian. 10-12-2006 09:52 AM

Quote:

Originally Posted by EvilHawk
Suggestion: A per forum setting will copliment this product ... ;)

clicks install ..

Hmm...never thought of doing that.
It would probably be pritty easy too.

I may do it depending on amount of installs. :)

redlabour 10-12-2006 10:26 AM

Quote:

Originally Posted by EvilHawk
Suggestion: A per forum setting will copliment this product ... ;)

clicks install ..

Agree ! :)

Quote:

Originally Posted by Adrian.
I may do it depending on amount of installs. :)

Thats a bad idea - because i do not install it (and i think some others want to that) because i need it only for one Forum (Portalnews). ;)

category 10-12-2006 06:54 PM

same here i would install it now buy only need a couple of forums

bashy 10-12-2006 07:57 PM

Hi

I would certainly install this if it was on a per forum basis, will click install hoping for an update :)

hal05 10-12-2006 10:45 PM

Working on 3.6.0! Thank you@ Just what I wanted.

hal05 10-12-2006 10:46 PM

Thank yoU@

optrex 10-13-2006 07:36 AM

Fantastic idea, just one big problem - user types 300 word post, forgets to include the icon, gets you must use an icon message, goes back and ........300 words have disappeared. :(

Needs fixing pls ;)


All times are GMT. The time now is 03:16 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.01326 seconds
  • Memory Usage 1,736KB
  • 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_html_printable
  • (3)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
  • (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