vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Is there a mod to add images to individual forums on Forum Home? (https://vborg.vbsupport.ru/showthread.php?t=254364)

TenPercenter 11-28-2010 04:24 PM

Is there a mod to add images to individual forums on Forum Home?
 
1 Attachment(s)
I'd like to do something like you see here without editing templates. Is there a product or add-on that does this? I'd like it to be an option in AdminCP for each forum.


http://www.g8board.com/forums/index.php (see the vendors section)
and
http://www.g8board.com/forums/forumdisplay.php?f=48

TenPercenter 11-28-2010 09:32 PM

I am still searching, but so far this is the closest I've come up with. I really prefer not to do template edits if I don't have to.

kenny19 11-30-2010 01:46 AM

1 Attachment(s)
What we do on our forum is just add image HTML code to the forum description in the forum manager:
Code:

<img src="imagelink" width="22" height="22"> Site news is posted here.
You could probably play with the html code to make it look like your screenshot. Add a line break <br> at the end of the description, then use a code to right-align the image.

TenPercenter 12-01-2010 12:00 PM

Wow that actually seems pretty simple... and it's done through the CP without adding a product or template mod. I like it. I'll see if I can manipulate the HTML to get the image on the right side of the description/forum title.

DataHero 12-01-2010 06:12 PM

You should be able to get it to the right side by adding a float:right; to the style. For instance:

Code:

<td class="alt1Active" align="left" id="f17">
        <img src="http://img.autoforums.com/network/dtc128.gif" border="0" style="float:right;">
</td>


TenPercenter 12-02-2010 04:21 PM

1 Attachment(s)
[QUOTE=kenny19;2127410]What we do on our forum is just add image HTML code to the forum description in the forum manager

I think this method is going to work out fine. However I have one problem I can't overcome:

I have a problem I need to solve and haven't figured it out. If any of you have an coding knowledge could you please help troubleshoot this?

This new banner appears in the following places:
  1. Forum Home: http://www.chiptalk.net/forum/
  2. * Market Place: http://www.chiptalk.net/forum/market-place/
  3. View Forum: http://www.chiptalk.net/forum/thechiproom-com-offers/
  4. View Thread: http://www.chiptalk.net/forum/thechi...al-thread.html
  5. Probably a few other places like View Post....

The banner is supposed to appear to the right of the forum description, at the right side of the table no matter how wide the browser window is. The text is supposed to be far left no matter how wide the browser.

The problem is on "Market Place." This is the only place where the banner gets butted up against the text to the left.

See attachments please. 1st one is how it it supposed to work, 2nd one is the broken page http://www.chiptalk.net/forum/market-place/ .


Here is the code I have been trying, one simple method and one using DIV tags.

HTML Code:

<div style="float: right;">
<a target="_blank" href="http://TheChipRoom.com" rel="nofollow">
<img style="border: 0px solid ; width: 128px; height: 28px; float: right;" src="/images/banners/128/tcr_ban_128_1a.gif"></a></div>
<div><a target="_blank" href="http://TheChipRoom.com" rel="nofollow">Website: TheChipRoom.com</a></div>

----------------------

<a target="_blank" href="http://TheChipRoom.com" rel="nofollow">
<img src="/images/banners/128/tcr_ban_128_1a.gif" border="0" align="right"></a>
<a target="_blank" href="http://TheChipRoom.com" rel="nofollow">Website: TheChipRoom.com</a>



All times are GMT. The time now is 08:54 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.04559 seconds
  • Memory Usage 1,729KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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