Welcome, Guest. Please Login or Register.
April 27, 2025, 04:00:40 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  General Category  |  Feedback  |  yabb se 2 « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: yabb se 2  (Read 2463 times)
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
yabb se 2
« on: May 24, 2002, 11:47:55 AM »
Reply with quote

Whens it out  ;D

Nah only kidding :P

Seen a few references to YaBB SE2 and assume its going to be a total rewrite.

Just one question/suggestion, yabb/yabb se is the only forum I'v come across that stores the threads you have read on the server so keeps track of unread threads propley whatever computer you use. This post is just a plea to keep it like that really... as its a feature I would miss too much and I would probably  :'( without it.

Seriously take your time on it and make the bestest forum software ever(dunno why I'm saying that as I know you will any)
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:yabb se 2
« Reply #1 on: May 24, 2002, 12:42:50 PM »
Reply with quote

Actually I totally agree.  A few sites I have been visitng are so very annoying in the way it tracks read topics.

I read them here at work and then go home and they are all unread  ::)
Logged

Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:yabb se 2
« Reply #2 on: May 24, 2002, 01:13:18 PM »
Reply with quote

good to hear :)
Logged
Shindou Hikaru
Honinbou
YaBB Crony
YaBB God
*****
Posts: 1358


ICQ - 152652980mephidmann@emulation-inc.com WWW
Re:yabb se 2
« Reply #3 on: May 29, 2002, 06:23:09 AM »
Reply with quote

A question about YSE2, how is it's coding. Is it nice and smooth or is it a horror such as the previos versions of yabbse. How much html ois avtaully visible? Are there functions for creating tables and forms (wrapped in the appropriate objects). Is the code neatly outlined?

I have been having a lot of problems with the <<< operator as well. I don't like it. I just like using print("text") And if you don't want the text to give any backslahing parse errors, wrap it in addslashes(). Escaping out of php is also more reliable than using <<<EOT. But that's just my opinion, maybe the php version I am using still has <<< not fully supported.
Logged

Please do not message me for support, use the support boards
Amazon Wishlist | ThinkGeek Wishlist | My Blog
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:yabb se 2
« Reply #4 on: May 29, 2002, 06:27:04 AM »
Reply with quote

I actually prefer the heredoc method because it allows me to easily use my html in a normal html file without any changes.  I also belive, this is not backed up with anything, that heredoc is faster than print with addslashes.  Once I got heredoc to work I just liked it better.  SE2 should not use cookies but rather sessions.  It seems the php world is trying to move toward them and it would alleviate or phpnuke/postnuke problems.
« Last Edit: May 29, 2002, 06:27:58 AM by David » Logged

Shindou Hikaru
Honinbou
YaBB Crony
YaBB God
*****
Posts: 1358


ICQ - 152652980mephidmann@emulation-inc.com WWW
Re:yabb se 2
« Reply #5 on: May 29, 2002, 06:30:41 AM »
Reply with quote

Yeah, well, herdoc might be nice, but it better works on my machine or there's no point in it. I totally agree YaBB SE should use sessions, it's much nicer.
Logged

Please do not message me for support, use the support boards
Amazon Wishlist | ThinkGeek Wishlist | My Blog
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:yabb se 2
« Reply #6 on: May 29, 2002, 09:20:43 AM »
Reply with quote

I definitely like these heredoc statements and when used correcly they should always work. However, I think there shouldn't be structural html (tables, divs, etc.) inside the code. These should be bundled in one php-file so that the structure of the forum can easily be modified.

Another alternative is to use event-based XML for each screen. It's supported by most PHP installations (and can also easily be parsed manually). Every tag is then translated into a piece of HTML, resulting in a clean, easy-to-edit code.

for instance:
<screen name="search">
  <html tag="b">
    <langstring index="yse123" />    
  </html>
  <yabbtable>
    <yabbtableheader>
      <langstring index="yse321" />
    </yabbtableheader>
    <yabbtablebody>
      <yabbfunction name="showsearch()" />
    </yabbtablebody>
  </yabbtable>
</screen>

Logged

Shindou Hikaru
Honinbou
YaBB Crony
YaBB God
*****
Posts: 1358


ICQ - 152652980mephidmann@emulation-inc.com WWW
Re:yabb se 2
« Reply #7 on: May 29, 2002, 02:46:10 PM »
Reply with quote

I usually have php functions to create tables and specify the parameters in an array. The table function set is loaded in an object:

// Create the object from a class (class not shown in code)
$table = new table;

// Build the table cells
$cell_params = array("align" => "center", "valign" => "middle");
$cell_text1 = "Cell 1";
$cell_text2 = "Cell 2";
$cell[] = $table->cell($cell_text1, $cell_params);
$cell[] = $table->cell($cell_text2, $cell_params);

//Build the row from the data
$row[] = $table->row($cell);

// Build the table from the data above
$table_params = array("align" => "center", "border" => 1, "bordercolor" => "FFFFFF");
$table->table($row, $table_params);

First the data is defined inside strings, then, using only one line, a whole, full-fledged, html table is created.
« Last Edit: May 29, 2002, 02:50:44 PM by mephidmann » Logged

Please do not message me for support, use the support boards
Amazon Wishlist | ThinkGeek Wishlist | My Blog
Zef Hemel
Advisor
YaBB God
*****
Posts: 1182


Me too

ICQ - 61109769 WWW
Re:yabb se 2
« Reply #8 on: May 29, 2002, 03:07:49 PM »
Reply with quote

Quote from: Compuart on May 29, 2002, 09:20:43 AMAnother alternative is to use event-based XML for each screen. It's supported by most PHP installations (and can also easily be parsed manually). Every tag is then translated into a piece of HTML, resulting in a clean, easy-to-edit code.

for instance:
<screen name="search">
  <html tag="b">
    <langstring index="yse123" />    
  </html>
  <yabbtable>
    <yabbtableheader>
      <langstring index="yse321" />
    </yabbtableheader>
    <yabbtablebody>
      <yabbfunction name="showsearch()" />
    </yabbtablebody>
  </yabbtable>
</screen>
XML + XSL transformations were considered but dropped since only IE5.5+ supports it well and very little servers have compiled sablotron into their PHP version. And we didn't want to write a pure PHP XSLT engine :P
Logged

Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:yabb se 2
« Reply #9 on: May 29, 2002, 03:37:30 PM »
Reply with quote

I actually didn't mean an XML/XSL transformation (the one I was talking about in that other topic). I agree these transformations are quite complicated and cost way to much server CPU time.

But since the last topic I've been learning some new things about event-based XML which is much faster. It works almost like the current templates, but it might be even faster cuz it can make use of the XML-parser built in almost every PHP-install (Apache-1.3.7 or later has expat).

Event-based XML does nothing else than scan an XML-file from top to bottom and couple a function to every opening and closing tag. So actually this XML-file is nothing but a meta-structure file for a page displayed in the forum.
« Last Edit: May 29, 2002, 03:40:11 PM by Compuart » Logged

Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:yabb se 2
« Reply #10 on: May 29, 2002, 03:53:38 PM »
Reply with quote

Which exactly how our current templating works.

Things like this have already been adresses and will not change.

Like I said in several posts, we are NOT looking for suggestions right now.  Any such suggestions, especially ones recommending fundamental structural changes will be ignored.
Logged

Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:yabb se 2
« Reply #11 on: May 29, 2002, 04:42:04 PM »
Reply with quote

Quote from: Joseph Fung on May 29, 2002, 03:53:38 PMLike I said in several posts, we are NOT looking for suggestions right now.  Any such suggestions, especially ones recommending fundamental structural changes will be ignored.

Yes it's taken me ages to work out the DB structure - it's a hell of a lot better :D
Logged

You can't have everything... where would you put it? -- Steve Wright
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:yabb se 2
« Reply #12 on: May 30, 2002, 03:50:05 PM »
Reply with quote

Quote from: Jeff Lewis on May 24, 2002, 12:42:50 PMActually I totally agree.  A few sites I have been visitng are so very annoying in the way it tracks read topics.

I read them here at work and then go home and they are all unread  ::)
Around the time of YaBB gold they had that problem didn't they? I rememebr BoardMod doing that to me when I used another computer.
And now that I'm in the libraray I'm so happy to come home to read and replied topics. Yum  :D
Logged

PHPNews has been released!!! Download it now!!!
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:yabb se 2
« Reply #13 on: May 30, 2002, 03:52:05 PM »
Reply with quote

YaBB Gold? YaBB has always had a good way to mark topics. There have been a couple of bugs but it was always been better than some systems out there IMHO :)
Logged

Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:yabb se 2
« Reply #14 on: May 30, 2002, 03:57:02 PM »
Reply with quote

Before YaBB Gold... I think. Of course it could of just been my computer cacheing, and I was too stupid to know. Sigh.  ::)
Logged

PHPNews has been released!!! Download it now!!!
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  yabb se 2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 3.757 seconds with 18 queries.