1
superego
Altering newbb_index.html
  • 2003/10/17 15:56

  • superego

  • Just popping in

  • Posts: 14

  • Since: 2003/8/20


I want to change the images on the bulletin board, but I don't want to simply overwrite the existing images. What I need to do is change this:



so that it points to the appropriate graphic in my theme. Any ideas?

2
dirch
Re: Altering newbb_index.html
  • 2003/10/17 16:59

  • dirch

  • Just popping in

  • Posts: 27

  • Since: 2003/8/29


You can edit the images in the conig.php file:

$bbImage['post'] = $bbUrl['images']."/post.gif";
$bbImage['newposts_forum'] = $bbUrl['images']."/folder_new_big.gif";
$bbImage['folder_forum'] = $bbUrl['images']."/folder_big.gif";
$bbImage['locked_forum'] = $bbUrl['images']."/folder_locked_big.gif";
$bbImage['folder_topic'] = $bbUrl['images']."/folder.gif";
$bbImage['hot_folder_topic'] = $bbUrl['images']."/hot_folder.gif";
$bbImage['newposts_topic'] = $bbUrl['images']."/red_folder.gif";
$bbImage['hot_newposts_topic'] = $bbUrl['images']."/hot_red_folder.gif";
$bbImage['locked_topic'] = $bbUrl['images']."/lock.gif";
$bbImage['locktopic'] = $bbUrl['images']."/lock_topic.gif";
$bbImage['deltopic'] = $bbUrl['images']."/del_topic.gif";
$bbImage['movetopic'] = $bbUrl['images']."/move_topic.gif";
$bbImage['unlocktopic'] = $bbUrl['images']."/unlock_topic.gif";
$bbImage['sticky'] = $bbUrl['images']."/sticky.gif";
$bbImage['unsticky'] = $bbUrl['images']."/unsticky.gif";
$bbImage['newtopic'] = $bbUrl['images']."/new_topic-dark.jpg";
$bbImage['folder_sticky'] = $bbUrl['images']."/folder_sticky.gif";


Dirch

P.S.: Sorry for my bad english

3
superego
Re: Altering newbb_index.html
  • 2003/10/17 17:56

  • superego

  • Just popping in

  • Posts: 14

  • Since: 2003/8/20


Your english is fine. But your solution isn't good enough for me. I'm trying to make these changes based on a theme that I have developed.

After playing withit some more and viewing the file in the templates_c directory, I have come up with this that does work:

<img src="<{$xoops_imageurl}>images/newbb/<{php}>echo basename($this->_tpl_vars['categories'][$this->_sections['category']['index']]['forums']['forum_folder'][$this->_sections['forum']['index']])<{/php}>" alt="" />


Now, I'm not just asking questions, but helping to solve them!

4
techgnome
Re: Altering newbb_index.html
  • 2003/10/17 20:47

  • techgnome

  • Module Developer

  • Posts: 51

  • Since: 2002/8/9 5


Maybe this is something some one can look into for the next version of the forums. The ability to select the icons from the admin screen, or possibly allow them to be theme driven.


TG

5
Anonymous
Re: Altering newbb_index.html
  • 2003/11/13 22:58

  • Anonymous

  • Posts: 0

  • Since:


Also an nice Idee for my today`s collecting Tour for the ToDo List of the newBB

Login

Who's Online

236 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits