1
DobePhat
Removing some images from Newwb-cbb systems
  • 2006/1/9 21:37

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Hi all we recently updated to CBB forum system, which in many ways is similar to newwbb 2.+. (we are getting ready for a relaunch as soon as we finish the theme and squelch some bugs)I searched for awhile with regard to this specific topic but cant find the answer (though Id be surprised if it hadnt come up already).

In an effort to streamline the forums a bit, particulary for our users who still dont use cache (and IE as well).

We would like to remove some images: the New Topic, Post Reply, Report,Edit, Top arrow, and replace with actual Links. I thought it would be in the templates but I see in the new system ...well there is a whole new system...lol/

A minute change that I believe we knew how to do with earlier version of NEWBB but am at a loss here. I believe the use of smarty can make this a potentially easy change, but we cant find exactly where we can modify this variable, if it exists at all.

Of course our other option is to create another image set -optimized. But we a hoping to accomplish both these techniques in an attempt to help reduce load time.

Am actually trying to get a discussion going at
HERE with reference to streamlining these new forum systems.

Any suggestions would be great thanks!

2
DobePhat
Re: Removing some images from Newwb-cbb systems
  • 2006/1/9 23:24

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


Alright let me be more specific here:

Here is the section from the old template file for Newbbthread.html:(just an example SNIPPET:

<a href='delete.php?forum=<{$forum_id}>&topic_id=<{$topic_id}>&post_id=<{$topic_post.post_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$lang_delete}>"a>


Here is the new one:(roughly the same area in the newwbbthread.html, it shows the differance in how they are used/called etc..

<{foreach item=abtn from=$topic_post.thread_action}> <a href="<{$abtn.link}>&post_id=<{$topic_post.post_id}>" target="_blank" title="<{$abtn.name}>"> <{$abtn.image}>a> <{/foreach}>


Ah much different.But where can we modify that, is there a global file for it? Or is this too far messhed together to be able to do that?
Thanks!

3
DobePhat
Re: Removing some images from Newwb-cbb systems
  • 2006/1/10 5:08

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


It seems to me that it should be a variable that would be easy to change such as found here: Otherwise I dont understand the use $xoopsTpl if you cant change something efficiantly in a minninum number of files.

Quote:
$xoopsTpl->assign('p_up',newbb_displayImage($forumImage['p_up'],_MD_TOP));


But I am uncertain. Anyone have an idea if this is possible.
(modifying some images such as "quote"-"Report" etc.

Thanks all...I guees this hasn't been answered before, but we all remember when forums were graphic-less. They were simple and fast. I love the look, but I think it may help if we trim some images out. at least a few.

UPDATE:
We have tracked down a lot of files that use the "newbb_displayImage" variable. it looks like a lot of tweeking to be done so far to try what we are doing.
We'll track and make a list as we try it out...(unless someone knows exactly which ones already?)

on a side note: One of our volunteers is working on a new image set, as I see that has been brought up before.

We will provide that new image set if we find it to make a substantial differance.

4
DobePhat
Re: Removing some images from Newwb-cbb systems
  • 2006/1/10 15:59

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


We are progressing on this if anyone cares to join us at
The Forge as far as exploring possibilities.

-thanks

5
DobePhat
Re: Removing some images from CBB-HACK
  • 2006/1/30 15:45

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


<--This is not a patch its a hack
Only mess with if you feel confident in what your doin', or mack a back up. Module update not required for this so ...fairly easy to check if it works-->

Progress has been made on this..just prior to the latest release however of cbb.This hack was developed for cbb 1.16.a for the XOOPS 2.013.2 systems.

It basically allows images such as the nifty but cumbersome: REPLY -QUOTE-REPORT etc. to be replaced by a text link based on their "alt" description.

It's farly easy to follow. BANDIT-X has discovered hack and provided a zip with all files and some documentation and the last page or two from the following thread make it even more clear....

Catch the thread, zip and the results HERE

Of course you can await the next release of cbb where it will most likely be integrated. Thanks to bandit, phppp et all.

This is particulary useful in the view thread mode and has much potential to be further advanced and integrated as it surely will be. there is a slight but useful increase of speed.

enjoy...
(porto on cbb)

Login

Who's Online

204 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 204


more...

Donat-O-Meter

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

Latest GitHub Commits