Current time: 04-28-2024, 04:55 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[3.22.248.208], connected from Seattle, Washington United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collapse Images
12-06-2009, 01:29 PM
Post: #1
Collapse Images
Which template I have to edit to change the collapse and collapse_collapsed image format to .png?
I searched and didn't find it...

Thank you.
Find all posts by this user
Quote this message in a reply
12-06-2009, 01:32 PM
Post: #2
RE: Collapse Images
(12-06-2009 01:29 PM)Light33 Wrote:  Which template I have to edit to change the collapse and collapse_collapsed image format to .png?
I searched and didn't find it...

Thank you.

Do you mean the ones at the forum display on front page? If so, the template you need is Forum Bit Templates-forumbit_depth1_cat. And the specific code:

<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-06-2009, 02:09 PM
Post: #3
RE: Collapse Images
How do I set my images there?
Find all posts by this user
Quote this message in a reply
12-06-2009, 02:51 PM (This post was last modified: 12-06-2009 03:01 PM by babjusi.)
Post: #4
RE: Collapse Images
(12-06-2009 02:09 PM)Light33 Wrote:  How do I set my images there?

That was where that part is specified. But you want to change the image extension for both actions, expanded and collapsed, right? For that, find the functions.forumlist.php file in the /inc/ directory and find the following code:

PHP Code:[Highlight]
$expcolimage "collapse_collapsed.gif"
And replace the collapse_collapsed.gif with your own image name and extension which should be also uploaded to your theme''s /image/ directory.

To change it for the expand version, find the following code:

PHP Code:[Highlight]
$expcolimage "collapse.gif"

And change the collapse.gif with your own image name and extension which should be also uploaded to your theme''s /image/ directory.

Let me know how it will go.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-06-2009, 03:29 PM
Post: #5
RE: Collapse Images
Thank you.
Find all posts by this user
Quote this message in a reply
12-06-2009, 03:30 PM
Post: #6
RE: Collapse Images
You are most welcome. Glad to have been of help Smile

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-06-2009, 03:42 PM (This post was last modified: 12-06-2009 03:51 PM by skiilz.)
Post: #7
RE: Collapse Images
Hey have a look there:
http://computerandstuff.co.cc/forums/index.php

The collapse_collapsed image didn't show...
And the Board Statistics images didn't appear too.
Find all posts by this user
Quote this message in a reply
12-06-2009, 05:06 PM (This post was last modified: 12-06-2009 05:37 PM by babjusi.)
Post: #8
RE: Collapse Images
(12-06-2009 03:42 PM)Light33 Wrote:  Hey have a look there:
http://computerandstuff.co.cc/forums/index.php

The collapse_collapsed image didn't show...
And the Board Statistics images didn't appear too.

I see from your thread at mybb that everything is fine. Can you confirm it please?

http://community.mybboard.net/thread-60838.html

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-06-2009, 05:37 PM (This post was last modified: 12-06-2009 05:38 PM by skiilz.)
Post: #9
RE: Collapse Images
Yes. Everything is fine.
The image must be .gif.
Thank you.
Find all posts by this user
Quote this message in a reply
12-06-2009, 05:42 PM
Post: #10
RE: Collapse Images
You are most welcome. Glad to have been of help Smile

babjusi's signature
Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com