Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-05-2010, 12:03 PM
Ruairidh Ruairidh is offline
 
Join Date: May 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How Do I change the display icons

I need help as I am a "noob" to VB Forums and I need to know how to change the icons such as the New Post and forum locked icons etc... Could anyone help me?

Thanks So Much!

Ruairidh
Reply With Quote
  #2  
Old 07-05-2010, 01:30 PM
eSekar's Avatar
eSekar eSekar is offline
 
Join Date: Jun 2010
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the "forum locked (& others)" are located in your forum root folder inside images/statusicon

The "New Post (& Others)" are located in images/buttons

Just go to your images folder, everything is self explained in there
Reply With Quote
  #3  
Old 07-06-2010, 05:23 AM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New post, New thread, Closed thread are no longer icons they css buttons.
Reply With Quote
  #4  
Old 07-15-2010, 01:15 AM
Steph H Steph H is offline
 
Join Date: Jun 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Attitude5ire View Post
New post, New thread, Closed thread are no longer icons they css buttons.
Anyone know of an easy way to revert this? We worked so hard on our buttons for 3.x that it would be a sacrilege to have to give the up.

Thank you!
Reply With Quote
  #5  
Old 07-28-2010, 06:09 PM
abualk abualk is offline
 
Join Date: Jul 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the way to change them :

open SHOWTHREAD template :

Find :
Code:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"  class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
Replace with :
Code:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"  id="newreplylink_bottom"  >  <vb:if condition="$show['closethread']"><img src="{vb:stylevar imgdir_button}/reply.gif" alt="{vb:rawphrase reply}" border="0" /><vb:else /><img src="{vb:stylevar imgdir_button}/threadclosed.gif" alt="{vb:rawphrase closed_thread}" border="0" /></vb:if></a>
Find :
Code:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"  class="newcontent_textcontrol"  id="newreplylink_bottom"  ><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
Replace with :
Code:
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"  id="newreplylink_bottom"  >  <vb:if condition="$show['closethread']"><img src="{vb:stylevar imgdir_button}/reply.gif" alt="{vb:rawphrase reply}" border="0" /><vb:else /><img src="{vb:stylevar imgdir_button}/threadclosed.gif" alt="{vb:rawphrase closed_thread}" border="0" /></vb:if></a>
Save your changes, then go to FORUMDISPLAY template and find :

Code:
 <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow"  class="newcontent_textcontrol"  id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a>
Replace with :
Code:
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow"  id="newthreadlink_top"><img src="{vb:stylevar imgdir_button}/newthread.gif" alt="{vb:rawphrase post_new_thread}" border="0" /> </a>
Find :
Code:
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow"  class="newcontent_textcontrol"  id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a>
Replace with :
Code:
<a href="newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw foruminfo.forumid}" rel="nofollow"  id="newthreadlink_bottom"><img src="{vb:stylevar imgdir_button}/newthread.gif" alt="{vb:rawphrase post_new_thread}" border="0" /> </a>
Then, save your changes and see the new changes.
Reply With Quote
  #6  
Old 07-30-2010, 03:55 PM
Steph H Steph H is offline
 
Join Date: Jun 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yay! This worked! Thanks so much!

The only button I don't seem to have now is the "Quote" button, but I will go through the code you just gave me and see if I can find it and replicate the alterations for that one.

Again, thanks so much!!!

--------------- Added [DATE]1280535275[/DATE] at [TIME]1280535275[/TIME] ---------------

Unfortunately, I have proven unsuccessful in my ability to find the code for the last three buttons I would like to include in VB4. They are the three buttons at the bottom of each post: Edit, the small Reply option, and the Quote option. If anyone can help me find the proper code for this, I would be most appreciative. Thank you!
Reply With Quote
  #7  
Old 07-31-2010, 07:55 AM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll find those icon in postbit or postbit_legacy template
Reply With Quote
  #8  
Old 07-31-2010, 11:46 AM
Steph H Steph H is offline
 
Join Date: Jun 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!! I'll dig through that and see if I can figure out the changes to make.
Reply With Quote
  #9  
Old 08-01-2010, 05:47 PM
abualk abualk is offline
 
Join Date: Jul 2003
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try to open postbit_legacy template, then Find :
PHP Code:
<div class="textcontrols floatcontainer"
And remove it . Then remove the closing "div" for it which is located under this :
PHP Code:
<!-- </div> --> 
Note: You can change the class istead of removing it.

Now, To change the edit button, find :
PHP Code:
<class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a
And replace it with :
PHP Code:
<class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:stylevar imgdir_button}/edit.gif" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /></a
So, can you now see how to change the rest ?

My regards.
Reply With Quote
  #10  
Old 08-02-2010, 01:30 AM
Steph H Steph H is offline
 
Join Date: Jun 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes! I got them all!! Thank you SO much, abualk...you are a lifesaver!!
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 12:53 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.07996 seconds
  • Memory Usage 2,269KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_code
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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