PDA

View Full Version : Is there any mod like this one for vBulletin?


Divvy
08-03-2011, 11:44 AM
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:

{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:
/* Give prefixes their own column */
img.threadicon {display: block; float: left; clear:right: }
.prefix {width: 75px; display: block; float: right;clear: right; height: 32px}

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.