Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Post Icons Dimension v1.0 Details »»
Post Icons Dimension v1.0
Version: 1.00, by Xyphen Xyphen is offline
Developer Last Online: Dec 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-15-2003 Last Update: Never Installs: 18
 
No support by the author.

//####################################
// Post Icons Dimension
// Written by Ali "AViO" (avio07@hotmail.com)
// Copyright 2003
// vBulletin Version 2.x.x
//####################################

My first hack, please be nice and don't curse at me or anything -_-!

What this hack does it, it allows you to change your Post Icon Dimensions with one click after the hack is installed

Download the .zip file, unzip it, upload installicon.php to the admin directory and run it, afterwards read install.txt and follow the instructions on it to make the changes.
If you have any trouble, please post and I will try the best to give you support, this hack has been tested twice so it shouldn't give you any troubles.

Reason for Creating the Hack: Well I was looking to increase my post icons size, because I use different sets of icons all the time, but I couldn't find any hacks or template changes. So I came up with this with help from Bitsys, Thanks Bitsys!

Please Click Install if You Install It!!

I would also Love some feedback from the people who install this hack!

Edit: I am such an idiot, I forgot to attach the .zip file!

Show Your Support

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

Comments
  #2  
Old 02-16-2003, 06:12 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the screenshot of it in the admin control panel under vbulletin options!!
Reply With Quote
  #3  
Old 02-16-2003, 10:47 PM
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Location: UK
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: Will this set ALL icons' width and height to 19? [eg]
Reply With Quote
  #4  
Old 02-17-2003, 06:09 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't want any limits at all on your icons, meaning if you want to have various sizes of icons, do the following!

Quote:
Don't run the installicon.php file!

Open up forumdisplay.php and find:
PHP Code:
$thread[icon]="<img src="$thread[iconpath]" alt="$thread[icontitle]" width="15" height="15" border="0">"
Replace With:
PHP Code:
$thread[icon]="<img src="$thread[iconpath]" alt="$thread[icontitle]" border="0">"
Open search.php and find:
PHP Code:
$searchresult[posticon]="<img src="$searchresult[posticonpath]" alt="$searchresult[posticontitle]" width="15" height="15" border="0">"
Replace With:
PHP Code:
$searchresult[posticon]="<img src="$searchresult[posticonpath]" alt="$searchresult[posticontitle]" border="0">"
Open up posticonbit template, replace everything in it with:
PHP Code:
<input type="radio" name="iconid" value="$iconid$iconchecked>&nbsp;<img src="$iconpathalign="middle" alt="$alttext">&nbsp;&nbsp;&nbsp;&nbsp
Thats how you can remove any size limit on your Post Icons, since i use similar type of icons, what I mean by similar is same size and color, thats why i made height and width editable in admin cp. But if you don't want to do that, you can do it this way.
Reply With Quote
  #5  
Old 02-19-2003, 12:37 AM
geniuscrew's Avatar
geniuscrew geniuscrew is offline
 
Join Date: Nov 2001
Location: UK
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice - thanks!
Reply With Quote
  #6  
Old 02-24-2003, 09:47 PM
Lacrosse Boy's Avatar
Lacrosse Boy Lacrosse Boy is offline
 
Join Date: Feb 2003
Location: MN
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this hack! It's great . . now I can use the larger ones I always wanted!

I have one question though -- to be on the safe side, is installicon.php safe to be removed?

Thanks!
Reply With Quote
  #7  
Old 05-11-2003, 03:56 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is perfectly save to remove installicon.php after the installation is done.
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 05:04 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.03985 seconds
  • Memory Usage 2,271KB
  • Queries Executed 20 (?)
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
  • (5)bbcode_php
  • (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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete