vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBindex (https://vborg.vbsupport.ru/showthread.php?t=37021)

-=dm=- 04-07-2002 09:38 PM

Thanx
Yes it the news icon0.gif I have copied the icon0.gif in the icon dir but still not working.
it shows up like this:

(brokenimage).gif" border="0"> NEWS (title)

NTLDR 04-07-2002 09:47 PM

Into which directory have you put icon0.gif into? It should be in { imagesfolder }/icons/ where { imagesfolder } is the directory where your images are, like the user cp, member list buttons etc are.

If your using the defualt template this will be forumurl/images (forumurl is the url to your forum directory)

If you don't know where { imagesfolder } is:

In the Admin CP, click styles, Modify, select fonts colours ect for the style you are using.

Find the Image Path section and the image folder path that is entered in the textbox there will point you to your { imagesfolder }

Let me know if this works or not.

-=dm=- 04-07-2002 10:13 PM

hmm...still not working

I have copied it the right place in the icon dir.

forums/images/icons/

this is from the vbindex.php
PHP Code:

 if ($news[iconid]!=0) { $icon="<img src=\"{imagesfolder}/icons/icon$news[iconid].gif\" border=0>"; } else { $icon=""; } 

thanx

NTLDR 04-07-2002 10:20 PM

Just tried what I posted in this message and it wasn't the solution!

NTLDR 04-07-2002 10:39 PM

OK, here's the Fix:

Change:

PHP Code:

if ($news[iconid]!=0) { $icon="<img src=\"{imagesfolder}/icons/icon$news[iconid].gif\" border=0>"; } else { $icon=""; } 

To:

PHP Code:

 if ($news[iconid]!=0) { $icon="$news[iconid]"; } else { $icon=""; } 

And your icons should appear and no icon will apear if one isn't selected in the post.

Can you update the zip with this fix el3m3nt?

Let me know to make sure this works for you -=dm=-

-=dm=- 04-07-2002 10:46 PM

Wooooooooow thank you NTLDR :):):)

You made my day now I can sleep well lol
now its working correct.

NTLDR 04-07-2002 10:51 PM

No problem, gald to of been some use for a change ;)

Hope you get it all working great.

PS your site looks pretty cool from that small screen shot :cool:

Let me know if you have any more probs :)

freeshares1 04-08-2002 07:40 AM

I have this all setup and am very impressed, However i have got one suggestion.

In the threads template it currently displays ALL new posts even ones in private forums for guests. Is there anyway that this can be changed to just reflect normal posts?

Also any html that is working in the post (say news post) will not come through onto vbindex

NTLDR 04-08-2002 12:25 PM

Quote:

Originally posted by freeshares1
In the threads template it currently displays ALL new posts even ones in private forums for guests. Is there anyway that this can be changed to just reflect normal posts?
See this post for the fix:

https://vborg.vbsupport.ru/showthrea...879#post237879

-=dm=- 04-08-2002 12:38 PM

Hi NTLDR & el3m3nt :)

I have a litle problem...members can not vote:( the get the no premission message:(

How can i fix this?


All times are GMT. The time now is 09:35 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.01348 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete