Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2011, 11:44 AM
Divvy Divvy is offline
 
Join Date: Nov 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Is there any mod like this one for vBulletin?

Hello friends,

Im looking for a mod that allow me to choose a image to a specific topic.
Well, something like the topic icons, but more advanced...

For example:
- If I click in a image X, will show a list of all topics in that forum that have the same image X. Or If I click in a image Y, will show a list of all topics that have the same image Y. Got the idea?

Well, this is what Im looking for:


And after we click on a specific image, in this case, the porstar image:


Any mod similiar to this one for vBulletin 4?
Reply With Quote
  #2  
Old 08-03-2011, 03:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would suggest using the thread prefixes and making them images. Then there is a mod that will allow you to click on the thread prefix and filter all those threads for you. (The mod for vB4 to do that is listed in my profile.)
Reply With Quote
  #3  
Old 08-03-2011, 04:02 PM
Divvy Divvy is offline
 
Join Date: Nov 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your suggestion Lynne, I liked

But how to convert prefixes to images?
Reply With Quote
  #4  
Old 08-03-2011, 04:11 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take a look where you define prefixes in the admincp - thread prefixes > prefix manager > edit a prefix and you'll see "Title (Rich Text)" which means you may enter html. So, just enter the html code for an image there.
Reply With Quote
  #5  
Old 08-03-2011, 04:58 PM
Divvy Divvy is offline
 
Join Date: Nov 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see... thank you

Btw, can you help me create a new column to add only the prefixes?
Like the screenshots above (Content column)
What file do I need to edit? And what to add?

P.S. Do you know If exists the same mod but for the topic icons?
Reply With Quote
  #6  
Old 08-03-2011, 08:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already posted the code somewhere here to put the prefix in it's own column. I didn't save it, so you'll have to do a search.
Reply With Quote
  #7  
Old 08-04-2011, 12:18 AM
Divvy Divvy is offline
 
Join Date: Nov 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found It
https://vborg.vbsupport.ru/showthread.php?t=261657

Thank you !!!

Btw, can you help me move the column next to Replies/Views? (Respostas/Vistos)
And make the prefix image vertical-align:middle If possible...
Please...

I know that I have the icons column (attachments, rating, etc...) in there, but maybe I can reduce the width of the Last Post By column:


This is how It looks with your code:

(the problem in this code, is that I only want to allow prefixs in 3 forums, and the other ones that don't have prefix, will appear a blank column, and looks bad...)

This is what I need:
Reply With Quote
  #8  
Old 08-04-2011, 03:24 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may try moving the prefix code to wherever you want it to be. You may need to align the div right if you put it inside the thread div. I don't know what you will do with the tags/attachments images though.

As for vertical align, I don't think you can do that in that div.
Reply With Quote
  #9  
Old 08-04-2011, 09:31 AM
Divvy Divvy is offline
 
Join Date: Nov 2008
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Lynne

Im almost there!
I added the code after this:

PHP Code:
{vb:raw thread.pagenav}
                                    <
vb:if condition="$show['pagenavmore']"> <span class="separator">...</span> <span><a href="{vb:raw thread.lastpagelink}">{vb:raw thread.totalpages}</a></span></vb:if>
                                </
dd>
                            </
dl>
                        </
vb:if> 
And changed my CSS to:
PHP Code:
/* Give prefixes their own column */
img.threadicon {displayblockfloatleftclear:right: }
.
prefix {width75pxdisplayblockfloatright;clearrightheight32px
The only issue that I have now is this:


As you can see, I have a blank space below replies/views column, and I dont know how to fix It... I have an idea but dont know If works, is removing the rating html code that shows above the prefix image. But I dont know how to do It...

Any ideas?
Reply With Quote
  #10  
Old 08-04-2011, 05:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can't really fix that space. The way I would go about it is to make the orange area a background image that is orange at the top and then fades out on the bottom to the color underneath - so it would fade to transparent.
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 04:38 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.04121 seconds
  • Memory Usage 2,259KB
  • 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
  • (2)bbcode_php
  • (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