vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Is there any mod like this one for vBulletin? (https://vborg.vbsupport.ru/showthread.php?t=267880)

Divvy 08-03-2011 11:44 AM

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:
https://vborg.vbsupport.ru/

And after we click on a specific image, in this case, the porstar image:
https://vborg.vbsupport.ru/

Any mod similiar to this one for vBulletin 4? :)

Lynne 08-03-2011 03:49 PM

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.)

Divvy 08-03-2011 04:02 PM

Thank you for your suggestion Lynne, I liked :)

But how to convert prefixes to images?

Lynne 08-03-2011 04:11 PM

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.

Divvy 08-03-2011 04:58 PM

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?

Lynne 08-03-2011 08:42 PM

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.

Divvy 08-04-2011 12:18 AM

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:
http://screensnapr.com/e/0BcBuN.jpg

This is how It looks with your code:
http://screensnapr.com/e/aLt3Q0.jpg
(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:
http://screensnapr.com/e/iRWHDE.jpg

Lynne 08-04-2011 03:24 AM

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.

Divvy 08-04-2011 09:31 AM

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:
http://screensnapr.com/e/gBdgjE.jpg

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? :)

Lynne 08-04-2011 05:42 PM

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.


All times are GMT. The time now is 08:16 AM.

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.01040 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete