2007-03-11, 06:23 PM
Pages: 1 2
2007-03-12, 06:52 AM
zaher1988 Wrote:Show me what was the modification you did to show a default icon so that i work upon it..
Well,
I just edited the functions_forumlist.php & then added the code u gave in my forumbit_depth2_forum_lastpost template.
The result can be views by the file i have attched.
[attachment=5672]
Th url of the default icon is :
http://www.freewebworld.jmfhosting.com/F...n/post.gif
Thank You.
2007-03-13, 12:34 PM
Zaher...I am waiting for ur reply...
2007-03-13, 04:31 PM
But you had previously a modification that shows a default icons isnt? can i see how you did so that i know how to work it out
2007-03-14, 02:55 PM
No..I didnt install Any Mod regarding the display of the icons.
I had only changed the Default Icon By a new icon [ By simply uploading a new File overwring the old post.gif]
This default icon was dispalyed from the time i actually installed MyBB.
I only modified what u told me to .
I had only changed the Default Icon By a new icon [ By simply uploading a new File overwring the old post.gif]
This default icon was dispalyed from the time i actually installed MyBB.
I only modified what u told me to .
2007-03-17, 12:40 PM
Hmmm i really dont get this way but anyway i will assume a removal for that thing.. in forumbit_depth2_forum_lastpost template please remove the image tag which you have added to display post.gif.
Now in the code i have provided above..instead of
put
X would be the number of the icon you want.. so replace it. Or you can simply chaneg
Now in the code i have provided above..instead of
$lastpost_icon = "";
put
$icon = $icon_cache['X'];
$lastpost_icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" /> ";
X would be the number of the icon you want.. so replace it. Or you can simply chaneg
{$icon['path']}
to the path for the new default icon.Pages: 1 2