News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

cbi v0.5 (Custom Board Icons)

Started by Bigguy, November 11, 2006, 11:59:46 AM

Previous topic - Next topic

Bigguy

If you see that then it should be working. Thats part of the mod. All you need to do now is upload the icons. The next version of this is being worked on but I am not sure when it will be out.

edi67

Quote from: Bigguy on October 12, 2008, 10:38:59 AM
If you see that then it should be working. Thats part of the mod. All you need to do now is upload the icons. The next version of this is being worked on but I am not sure when it will be out.

i have already the icons uploaded by older versions
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bigguy

Have you emptied your cache on the forum and tried using ctrl + f5 on your keyboard to bypass your browser cache.

edi67

#363
Quote from: Bigguy on October 12, 2008, 10:49:53 AM
Have you emptied your cache on the forum and tried using ctrl + f5 on your keyboard to bypass your browser cache.

sorry for disturb i solved everything making new package working for smf 2.0 beta 4 if you need to attach it i attach in post
thx for reply
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bigguy

Thanks for that but the one that works with 2.0 beta 3 uses .png instead of .gif. You might be trying to install the wrong one on your version of SMF.

edi67

Quote from: Bigguy on October 12, 2008, 11:25:45 AM
Thanks for that but the one that works with 2.0 beta 3 uses .png instead of .gif. You might be trying to install the wrong one on your version of SMF.

oh you are right sorry :) i using GIF image so i let so thx for reply
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bigguy

I have removed your attachment from your post but I still have a copy of it and will go over it. :)

David Benjamin

Help, I am having a problem with this modification. After installation all icons are in:
Themes/default/images/off.png  :(

AlenNS

You have tu make same folders in your default and your custom theme to make this mod work.


AlenNS

Yes, I can.

Quote from: AlenNS on October 19, 2008, 08:00:41 AM
You have tu make same folders in your default and your custom theme to make this mod work.

Kindred

Alen,  That was less than helpful

David,

As with all mods, this mod only automatically  installs into the default theme. You will have to make manual edits to your custom themes and manually create the icons directories in your custom theme directory.

Also, this mod does not create the custom icons...  it merely creates the method to USE custom icons. It's up to you to create and upload the custom icons to the correct location in your theme directory structure.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tonnybarros

I installed the CBI 1.0be can not put GIF, how do I put GIF

I'm from Brazil and the translation is at Goole

Bigguy


tonnybarros

Yes in PNG works, but there I have to use only PNG

Bigguy

For the version of cbi you installed yes only .png works. You could go through the code that the mod put in your file if you like and find all the .png extensions and change them to .gif if you like or re-install an earlier version of cbi.

tuguex

I use the Outline theme, so after istall cbi, i just need to create this folders:

forum/Themes/default/icons
forum/Themes/default/icons/board_id/on.gif
forum/Themes/default/icons/board_id/on2.gif
forum/Themes/default/icons/board_id/off.gif

then:

forum/Themes/Outline/icons
forum/Themes/Outline/icons/board_id/on.gif
forum/Themes/Outline/icons/board_id/on2.gif
forum/Themes/Outline/icons/board_id/off.gif

And it should work right? Or i need to edit the index.php?

Bigguy

Run the package through a parser and see what edits it makes then go into your custom theme folder and see if any of those files are in there. If they are they will have to be modified, if not then when the mod installed it made the edits to the default theme.

tuguex

Quote from: Bigguy on November 02, 2008, 11:09:46 AM
Run the package through a parser and see what edits it makes then go into your custom theme folder and see if any of those files are in there. If they are they will have to be modified, if not then when the mod installed it made the edits to the default theme.

I run P.Parser, but:


ERROR: The package-info.xml file is invalid!

Debugging Information
Error message: String could not be parsed as XML
Source: /home/dragonfl/public_html/resourcez/PackageParser/index.php:133
Errors encountered while parsing XML file:

   1. Entity: line 1: parser error : XML declaration allowed only at the start of the document
   2. <?xml version="1.0"?>
   3. ^

Stack Trace:
#0 /home/dragonfl/public_html/resourcez/PackageParser/index.php(133): SimpleXMLElement->__construct(' <?xml versi...')
#1 /home/dragonfl/public_html/resourcez/PackageParser/index.php(94): parsePackageInfoXML('/tmp/package-in...', 'install', 'theme')
#2 /home/dragonfl/public_html/resourcez/PackageParser/index.php(773): parseArchive('/tmp/phpRiDidF', 'install', 'theme')
#3 {main}

XML File:

    <?xml version="1.0"?>
    <!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
    <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
   
   <id>bigguy:cbi05</id>
   
   <name>cbi, 1.0</name>   
   
   <version>1.5</version>
   
   <type>modification</type>
   
   <install>
      <readme>readme.txt</readme>
      <modification>modification.xml</modification>
   </install>
   
   <uninstall>
      <modification reverse="true">modification.xml</modification>
   </uninstall>
</package-info>


What is this?

Bigguy

I will have to look at the package and do some changes. Open up the modifications.xml file and the edits are in there. It's pretty simple to follow.

Advertisement: