The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
(i have vB 3.7.4) i'd like to remove the automatic appearing Poll Icon. so that there can be a normal post icon instead. i've tried removing this: Code:
308 // show poll icon 309 if ($thread['pollid'] != 0) 310 { 311 $show['threadicon'] = true; 312 $thread['threadiconpath'] = "$stylevar[imgdir_misc]/poll_posticon.gif"; 313 $thread['threadicontitle'] = $vbphrase['poll']; 314 } includes/functions_forumdisplay.php but that made also all normal post icons disappear. (no idea why) then i tried only removing line 312 and 313. that worked fine in Firefox3... but in Explorer7 the Poll icon is replaced with a little placeholder image (red x). Can you please tell me what to change in this php file to get rid of the Poll icon and the placeholder? ![]() |
#2
|
||||
|
||||
![]()
How about:
PHP Code:
|
#3
|
|||
|
|||
![]()
thank you Lynne.
thats it. ![]() |
#4
|
||||
|
||||
![]()
Sorry for bumping an old thread, but as a note to this if you just replace true with false it won't show the normal thread icon or the poll icon (we have thread's that MUST show the selected thread icon for posts, NWS posts for users at work)
However, if you change it to this it will never show the poll thread icon and only show the normal thread icon (if any were selected). Code:
// show poll icon if (0 != 0) { $show['threadicon'] = true; $thread['threadiconpath'] = "$stylevar[imgdir_misc]/poll_posticon.gif"; $thread['threadicontitle'] = $vbphrase['poll']; } |
#5
|
||||
|
||||
![]()
It isn't:
PHP Code:
PHP Code:
|
#6
|
||||
|
||||
![]() Quote:
but my IF statement was correct, it is an always false statement so it skips that section of the code. I don't EVER want it to be true and have the poll icon overwrite the thread icon (which will happen when that IF clause returns true). This basically disables the poll icon completely and shows the thread icon if one was selected. |
#7
|
||||
|
||||
![]()
If you want it to always be true, why bother with an if statement at all?
|
#8
|
|||
|
|||
![]()
Can someone recap the exact change that needs to be made for us novices?
|
#9
|
||||
|
||||
![]()
Just find that code in functions_forumdisplay.php and change it to false:
PHP Code:
|
#10
|
|||
|
|||
![]()
Doesn't do what I want it to do that way. I want to display the post icon and not have the default poll icon come up over it.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|