vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Catagory Icons (https://vborg.vbsupport.ru/showthread.php?t=127426)

inkdot 09-30-2006 06:31 AM

Quote:

Originally Posted by Maksa
yes that's wat i wanted to do for my website. but what code i have to edit in template page. sorry but i really don't know much about codeing. i want some help if anyone can give me... :(

you need to edit
Forum Home Template > forumhome_forumbit_level2_post
look for...
<strong>$forum[title]</strong>
add before...
<img src="$stylevar[imgdir_button]/$forum[forumid].gif" align="absbottom" alt="" border="0" />

then upload the gifs to buttons folder (mine is under ~forum/images/themename/buttons/)
the filenames should match the forum id's(e.g 1.gif, 2.gif,..)

i only wanted 3 icons on my forums so the rest of the images i uploaded are just 1x1 blank gifs or spacers.

www.questlife.net/forum check Console Gaming
i added them yesterday after seeing Deska's post about golpo.net lol so thanks i guess :)

Maksa 09-30-2006 04:06 PM

thanks a lot man... i really dont have word to explain. i was looking help on this from last 3 week and u helped me out. thanks a lot again :) god bless you :)

BuRuNDi 10-05-2006 06:57 AM

Hi,

I'm having problems, can't get this mod to work :(



screenshot attached

Adrian. 10-05-2006 08:16 AM

Hi,

Did you replace
HTML Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
with my code....

try the other option in my installation post.

Replace:
HTML Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0"

id="forum_statusicon_$forum[forumid]" />

with my code instead.

BuRuNDi 10-05-2006 09:23 PM

Thanks Adrian,

It was a copy/paste problem.


IT IS WORKING NOW!!!

:D :D :D

exilera 10-09-2006 01:10 PM

So, when you specify an icon with this hack, the icon doesn't change to another specified icon when there are new posts, when it's locked, etc.?

If that's the case, how can you tell if there are new posts, if the icon doesn't change? I noticed someone requested this a few posts up. I agree. That would be an awesome addition, and would make this an absolutely perfect hack.

BoNeS42 10-10-2006 06:18 PM

Installation
Import product-catagoryicons.xml (It should make the needed Mysql tables too)
Go to Options > Catagory Icons to enable the mod'.

Where do we import this xml? Sorry, i'm new to this.

Adrian. 10-10-2006 07:22 PM

Quote:

Originally Posted by BoNeS42
Installation
Import product-catagoryicons.xml (It should make the needed Mysql tables too)
Go to Options > Catagory Icons to enable the mod'.

Where do we import this xml? Sorry, i'm new to this.

Download the atachment.
Login, into your vBulletin Admin Panel.

Go to Plugins and Products > Manage Products.
Click [Add/Import Product]

Click Browse, then Import. :)

Adrian

kkKunan 10-12-2006 10:34 AM

Hi!
This mod can run with 3.6.0? i like install!
:D

iran.gs 10-12-2006 11:37 AM

installed

version 3.62 and worked fine.

kkKunan 10-13-2006 01:04 AM

Quote:

Originally Posted by iran.gs
installed

version 3.62 and worked fine.

Thanks!!!:rolleyes:

b6gm6n 10-13-2006 04:11 PM

working

beduino 10-14-2006 01:26 PM

hello,
sorry the newbbie question... but the hack works in 'categories'?
if I understand the mod works displying new gifs in forum that was working like forums only.
tks
beduino

BaselineAce 10-19-2006 12:46 PM

Does anyone know why the icons don't update based on status on the top-level forum homepage?

Greek76 10-19-2006 02:41 PM

Does this work with topics as well? I tried but no luck with topics but it does work with the forums..

Gizmo5h1t3 10-19-2006 03:44 PM

noticed its pushing all mine out of alignment on the index....all the images are the same size as well

weird

jyajay 10-19-2006 10:35 PM

Quote:

Originally Posted by beduino
hello,
sorry the newbbie question... but the hack works in 'categories'?
if I understand the mod works displying new gifs in forum that was working like forums only.
tks
beduino

Yup, the mod actually should be called "Forum Icons".

beduino 10-20-2006 01:00 AM

tks jyajay.
i'm looking for a mod/hack that include gifs in categories.
All the best
beduino

StarBuG 10-24-2006 08:21 AM

Quote:

Originally Posted by beduino
tks jyajay.
i'm looking for a mod/hack that include gifs in categories.
All the best
beduino

Just place the images into your description and position them with CSS

That is what I did for my forum images: www.patientenfragen.net ;)


About this hack, I realy would like to use it, but I would at least need new_post and no_new_post to be able to be specified.

StarBuG

apiasto 10-26-2006 07:38 PM

good working like a charm thnx

apiasto 10-26-2006 07:40 PM

I got 3.6.2. and its working great thnx

Eagle Creek 10-27-2006 01:02 PM

Great hack!
I like the Catagory Icons!

Thanks.

carlosacgj 11-02-2006 02:48 PM

this hack can work on 3.5?

Fulla 11-03-2006 10:53 AM

Ignore: got it all working:D

thx alot

Illustrious 11-07-2006 10:12 PM

Is there anyway to get it so that you can have a different image, or decolorize the image when there are no new posts?

beduino 11-08-2006 01:39 AM

Hello StarBug!
Quote:

Originally Posted by StarBuG
Just place the images into your description and position them with CSS

tks for your answer. I will try ;) But how can I setup using CSS?? I see your forum and you did in right. I want in left corner....
All the best
beduino

exilera 11-10-2006 05:03 AM

Does this work on 3.6.3? I got a database error when I tried to install it.

Also, what database table does this hack modify?

GuN 11-11-2006 04:37 PM

Installed an works pretty good on vB 3.6.3 ;).
Do you think you can do something to have a on/off icon topic on the hack ?
It would be per-fect if it's possible :).

And also, if you could add the possibility to change the subforum icons in forumhome page ;).

Thanks a lot, very good hack !

rknight111 11-11-2006 05:14 PM

Does this make the Icons selectable on the main page. My site is www.snowandmud.com, Im trying to make snowmobiles for the snowmobile menus and atv's for the atv menu

Can someone put a link to there site where this add-on has been done????

RON:knockedout:

rknight111 11-11-2006 08:03 PM

It works great but How do I get it to shade pick between 3 items so if the catagory is has been read or unread. Im not really concered about the locked on Just the other two. Otherwise it works nicely..

What is the trick to take a larger image and downsizing it so it fits the 50 x 40 size that that seems to be.

RON

Mr Pink 11-11-2006 09:19 PM

I think Jelsoft must include this mod by default. It's really usefull.
Thanks for it Adrian..

markbolyard 11-14-2006 12:33 PM

Where exactly is this: "Go to Options > Catagory Icons to enable the mod"

I've gone through the entire admincp -> vBulletin options and can't find it.

I have added my icons using <img src="http:example.com/cat-icons/test.gif"> to my forums, but no images display.

NM, The import of the product must not have fully worked the first time. Reinstalled and the option shows up. Thanks...

networktemple 11-23-2006 11:10 AM

im getting the following error when import the plug-in. what should i do?

Database error in vBulletin 3.5.5:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Catagory Icons', 'forumadmin_edit_form', 'print_input_row($vbphrase[\'customimgtext\'], \'forum[customimg]\', $forum[\'customimg\']);', 'catagoryicons');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Thursday, November 23rd 2006 @ 05:09:46 AM

Classname : vb_database

Battle_Ring 11-25-2006 07:02 PM

ium getting this when trying to add an image

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE forum SET
title_clean = 'The Girl Next Door',
title = 'The Girl Next Door',
description_clean = 'Post your girl next door videos and images here (NO NUDITY)',
description = 'Post your girl next door videos and images here (NO NUDITY)',
link = '',
displayorder = 1,
parentid = 8,
daysprune = -1,
defaultsortfield = 'title',
defaultsortorder = 'asc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
customimg = 'http://manauthority.com/images/icons/next-door-icon.gif'
WHERE forumid = 9;

MySQL Error : Unknown column 'defaultsortfield' in 'field list'
Error Number : 1054
Date : Saturday, November 25th 2006 @ 04:45:57 PM
Script : http://www.manauthority.com/admincp/forum.php?do=update
Referrer : http://www.manauthority.com/admincp/...do=edit&f=9&s=
IP Address :
Username : Chris
Classname : vb_database

Avalon111 11-27-2006 10:27 AM

works like a charm. thanks :)

infinityloop 12-03-2006 07:10 AM

This mod is realy great!
I have added it recently to our forum -> http://forum.team-mediaportal.com

Would it be possible to expand this modification, to define custom category icons for "forum_old" and "forum_new"?

which means, haveing the same functionality with the custom category images, as with the main vbulletin feature, to see if a forum contains new posts or not.

domokun 12-03-2006 12:46 PM

Hi Adrian,

I used to have something like this installed for version 3.5.4 which looked like the attached image I have.

The image here was to the right of the status icon, thus allowing the users to know of new posts. After I upgraded to version 3.6.4, I found your hack, which works very nicely btw, but instead of being to the right of the status icons, it replaces the status icons.

Is there a way to make it so it's to the right, like I had before?

Many thanks,

~ Domokun

- Image below was the older one I used to have for 3.5.4 -

KURTZ 12-03-2006 12:59 PM

hi domokun, i'm interested to do my forum like your thumb ... what's the hack that you use?

domokun 12-03-2006 01:33 PM

What I had was an older version for vB 3.5.4. I'm also stuck on trying to figure out how to get it to look like this since I just upgraded to vB 3.6.4

~ Domokun

p.s. I was kinda hoping Adrian would have our answer ;)

Smoothie 12-03-2006 03:03 PM

This looks great, but the one problem I have with these types of modifications is you lose the new/old icon to show which forums have new posts and which ones don't. IMO that's important and it's the only reason I don't use this.


All times are GMT. The time now is 01:34 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.01387 seconds
  • Memory Usage 1,821KB
  • 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_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete