vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v4.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2011, 02:41 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default How can I display forum images in the recent threads?

I would like to know how I can display the forum images instead of the forum name in the recent threads module? Does anyone know how to achieve this?

Thank you for support!
Reply With Quote
  #2  
Old 10-31-2011, 01:29 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

what forum image?
Reply With Quote
  #3  
Old 11-01-2011, 11:51 AM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

The forum status icons (statusicon/forum_x-48.png). I will be replacing the default forum status icons on my board. In the 'Recent Threads Module' the forum name is being displayed on the right side : http://quebecod.com. I think it would look nice if we could replace it with the custom forum status icon. Is that possible?

Thank you Dragonsys!
Reply With Quote
  #4  
Old 11-01-2011, 11:56 AM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

It displays the Thread name, not the forum name.
So you want to display an image instead of the thread name?
Reply With Quote
  #5  
Old 11-01-2011, 01:22 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

I was under the impression that 'threads' represented subjects within a forum, like this 'category, forum, thread and post'? On my CMPS page: http://quebecod.com/index.php it's written 'Forum' where the name is being displayed (right side of 'Recent Thread' module).

I will have icons representing different forums. For example, Modern Warfare 3: http://quebecod.com/forum/forumdispl...dern-Warfare-3. If someone would post in one of the MW3 forums the 'forum name' would be replaced with the 'forum icon' in the module on the CMPS page.

I hope I'm making sense : s
Reply With Quote
  #6  
Old 11-01-2011, 03:24 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

See attachment: This is what I see when I look at your page

FR language pack for... is a Thread, inside of your Developpement/Developpement Notes Forum (Category)/SubForum
Am I looking at the wrong Recent Threads module on your site?


It goes: Site -> Forum -> Thread -> Post
Categories are no longer used, really, they are just Forums with SubForums these days.
Attached Images
File Type: png threads.png (6.5 KB, 22 views)
Reply With Quote
  #7  
Old 11-10-2011, 02:35 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

OK, thank you for the clarification Dragonsys and sorry for the late responses I was on vacation.

Anyways, if you look at my index page (CMPS) you will see in the middle column there is 'Actualité Call of Duty'. On the right side of that block you have 'Forum' where all the forum titles are located. That is where I want the forum images to replace the titles. Hope that is a little clearer. Sorry for my broken english : s
Reply With Quote
  #8  
Old 11-10-2011, 05:47 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

You would need to edit the 'adv_portal_recthreads_exp' template and adjust the code there. I'm guessing you would just want to replace "{vb:raw thread.forumtitle}" with something like "<img src="images/statusicon/forum_{vb:raw thread.forumid}-48.png" />"
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #9  
Old 11-11-2011, 12:23 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

Yes that is exactly what I want but its not displaying any images : s Here is what I replaced with:

Quote:
<img src="forum/images/statusicon/forum_{vb:raw thread.forumid}-48.png" />
BTW, I am using custom icons like 'http://quebecod.com/forum/images/statusicon/mw3/forum_old-48.png'

Again, thank you for the support Brian!

Last edited by DFORMS; 11-11-2011 at 12:29 PM.
Reply With Quote
  #10  
Old 11-16-2011, 01:35 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

Still trying to fix this : s
Reply With Quote
  #11  
Old 11-16-2011, 01:41 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Are you somehow using different images for each forum, or will all forums use the same images?
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #12  
Old 11-16-2011, 02:05 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

I will be using different images for each forum. See my current phpBB forum for example: http://fragnet.ca/forum/index.php. Will not be using two icons side by side like on my phpBB forum. I used this tutorial : http://www.youtube.com/watch?v=aSK1ieIjmW4.
Reply With Quote
  #13  
Old 11-17-2011, 04:37 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

Quote:
Originally Posted by DFORMS View Post
Yes that is exactly what I want but its not displaying any images : s Here is what I replaced with:



BTW, I am using custom icons like 'http://quebecod.com/forum/images/statusicon/mw3/forum_old-48.png'

Again, thank you for the support Brian!
you don't have the "/mw3/" in your code

Code:
<img src="forum/images/statusicon/mw3/forum_{vb:raw thread.forumid}-48.png" />
Reply With Quote
  #14  
Old 11-18-2011, 12:17 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

Well that wont work. If I add /MW3/ in the code other forums will be displaying the same Icon... The point is to have let's say 'cinema related discussions' displaying the cinema's forum icon in the recent thread module. The /MW3/ would have to change depending on the forum.
Reply With Quote
  #15  
Old 11-21-2011, 12:36 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Your best bet here is going to be to name the icon images after the forumid.
Discussions - /images/statusicon/mw3/forum_7.png
Actualité - /images/statusicon/mw3/forum_8.png
Recherches players et games - /images/statusicon/mw3/forum_9.png

Then you can use this code within your template:
Code:
<img src="/forum/images/statusicon/mw3/forum_{vb:raw thread.forumid}.png" />
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #16  
Old 09-16-2012, 02:23 PM
DFORMS DFORMS is offline
Member
 
Join Date: Jun 2011
Posts: 33
Default

Hey guys just wanted to let you know that I got it working http://quebec-gamers.ca (dev site). What I did is I created a folder in the statusicon folder called forum_*forum id* and user this <img src="images/statusicon/forum_{vb:raw thread.forumid}/forum_new-48.png" /> in adv_portal_recthreads_exp.

Thanks for your help!
Reply With Quote
  #17  
Old 09-24-2012, 08:30 PM
Dragonsys Dragonsys is offline
Senior Member
 
Join Date: Jan 2008
Location: Atlanta, GA
Posts: 444
Default

cool, glad you got it working well
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
recent threads/forum display problems tobaro Troubleshooting & Problems 3 12-02-2009 03:41 PM
clicking topic in "recent threads" opens forum display nonnon "How Do I..." Questions 11 09-21-2007 01:26 AM
Most Recent Threads to Display blkatt Troubleshooting & Problems 4 05-02-2006 09:48 AM
Display forum instead of recent threads? EvilCensor "How Do I..." Questions 2 08-01-2005 12:02 PM


All times are GMT -4. The time now is 02:38 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.