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

Reply
 
Thread Tools
Forum Specific Post Icons Details »»
Forum Specific Post Icons
Version: 1.00, by hobbes747 hobbes747 is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-29-2005 Last Update: 11-29-2005 Installs: 9
DB Changes Uses Plugins
Code Changes Is in Beta Stage  
No support by the author.

This hack will allow you to specify post icons that can only be used in certain forums.

To install, follow the instructions in the text file and import the product. There are two files that need to be edited.

To limit a post icon to a specific forum, edit that icon in the ACP, and change the forum id number to the number of the forum it will be used in.

Details
-------
1 Product XML
2 Files to Edit

The default value for all of the icons is forum id #0. The icons with a value of 0 will show up everywhere, including the forums with specific icons and private messages.

I did not code this to allow for an icon to be reused in more than one forum, unless it's in the set of general icons; you'll have to add it twice to allow it in more than one specific forum.


The 3.0 version is here but it's not an official port, though Xenon said it was okay if I posted this.

This hack works well with the Filter Posts By Icon hack.

First hack, be gentle. :nervous:

Show Your Support

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

Comments
  #2  
Old 11-30-2005, 08:02 AM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack, thanks
Reply With Quote
  #3  
Old 11-30-2005, 08:30 AM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great was looking for this, too bad it's a code mod
Also, it might be easier to do this using post icons groups instead of single icons. This would save quite some admin time.
Reply With Quote
  #4  
Old 11-30-2005, 08:31 AM
jarod1981?'s Avatar
jarod1981? jarod1981? is offline
 
Join Date: Nov 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all

In my admincp/image.php there isnt' this:

" . iif($vbulletin->GPC['table'] == 'avatar', "minimumposts = " . $vbulletin->GPC['minimumposts'] .",", '').
iif($vbulletin->GPC['table'] == 'smilie', "smilietext = '" . $db->escape_string($vbulletin->GPC['smilietext']) . "',", '')."


Where I can insert the phrase of Replace?

" . iif($vbulletin->GPC['table'] == 'avatar', "minimumposts = " . $vbulletin->GPC['minimumposts'] .",", '').
iif($vbulletin->GPC['table'] == 'smilie', "smilietext = '" . $db->escape_string($vbulletin->GPC['smilietext']) . "',", '').
iif($vbulletin->GPC['table'] == 'icon', "specialforumid = '" . $db->escape_string($vbulletin->GPC['specialforumid']) . "',", '')."



Bye
Reply With Quote
  #5  
Old 11-30-2005, 08:40 AM
hobbes747 hobbes747 is offline
 
Join Date: Jul 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jarod1981?
Hi all

In my admincp/image.php there isnt' this:

Bye
What do you have on line 998 before editing the page?
Reply With Quote
  #6  
Old 11-30-2005, 09:12 AM
hobbes747 hobbes747 is offline
 
Join Date: Jul 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by El_Muerte
Great was looking for this, too bad it's a code mod
Also, it might be easier to do this using post icons groups instead of single icons. This would save quite some admin time.
Actually, that's above and beyond me right now. I'll see what I can do.
Reply With Quote
  #7  
Old 11-30-2005, 12:38 PM
jarod1981?'s Avatar
jarod1981? jarod1981? is offline
 
Join Date: Nov 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Friends!

I have installed this Mods and modificated file .php but i don's see in the ACP the option for insert a Specific Post Icons!

How it's possible?

:ermm:
Reply With Quote
  #8  
Old 11-30-2005, 02:01 PM
hobbes747 hobbes747 is offline
 
Join Date: Jul 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jarod1981?
Hi Friends!

I have installed this Mods and modificated file .php but i don's see in the ACP the option for insert a Specific Post Icons!

How it's possible?

:ermm:
ACP>Post Icons>Post Icon Manager>go into one of your categories where the icons are listed>Hit edit on one of the icons and it should look like my screen cap at that point.
Reply With Quote
  #9  
Old 11-30-2005, 02:49 PM
Omega Prime's Avatar
Omega Prime Omega Prime is offline
 
Join Date: Sep 2002
Location: ::Infinity::
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've yet to try this out, but I'm curious:

Does this allow more than 1 forum to be listed in the area for forum-specific places (such as forums with IDs of 1, 5, 22, .. )? Your post mentions that it works with general icons, but I dunno if it works like I just mentioned or not.
Reply With Quote
  #10  
Old 11-30-2005, 03:17 PM
hobbes747 hobbes747 is offline
 
Join Date: Jul 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

At the moment, no.
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 11:18 PM.


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.07133 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
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_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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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