Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 Re: General support (1.4) » menu color » 2011-01-30 16:07:21

eliot
fra2591 wrote:

hello, what is the color of the blue menu on top in the air style? its the same one as the one here. I can't find it...

#44699C

#2 Re: Feature requests » New slogan. » 2010-06-27 16:25:58

eliot
Gizzmo wrote:

Well its just a quote from the Matrix movie, with Fluxbb instead of Matrix. Maybe if we find a different movie quote and add the word Fluxbb into it.

lol

I know what you're thinking, punk. You're thinking "did he fire six shots or only five?" Now to tell you the truth I forgot myself in all this excitement. But being this is a .44 Magnum, the most powerful handgun in the world and will blow you head clean off, you've gotta ask yourself a question: "Do I feel fluxbb?" Well, do ya, punk?

#3 Re: FluxBB discussion » FluxBB XXL - Big Forums Running FluxBB » 2010-03-27 12:31:12

eliot
MattF wrote:

Where's the thread for other sites, (not specifically large boards), running FluxBB? I'm sure there's one somewhere, but I'll be damned if I can find it.

http://fluxbb.org/forums/topic/1274/flux-sites/

#4 Re: Feature requests » Users registering for link juice! » 2010-02-23 01:34:10

eliot

I've posted this before, but it may make sense to mention it again. Maybe it will help someone. The people at stopforumspam.com are doing a great service.  On my 1.2 register.php I added the following about a year ago:

$urlchecker = file_get_contents('http://www.stopforumspam.com/api?ip='.get_remote_address());
 if (strpos($urlchecker, 'yes'))
        die($lang_common['No permission']);

and have not had 1 spam registration since.

#5 Re: General support (1.2) » always "Unable to fetch guest information." » 2009-04-09 17:42:12

eliot

Looks like you need to run the install_mod.php from that mod as the column it is adding to your online table is not there.

#6 Re: General support (1.2) » always "Unable to fetch guest information." » 2009-04-09 12:13:19

eliot
lie2815 wrote:

You have to un-comment the following lines in either common.php or essentials.php:

define('FORUM_DEBUG', 1);
define('FORUM_SHOW_QUERIES', 1);

If you cannot find them, just add them to config.php...

Oh, and don't forget to remove them afterwards!

This is version 1.2, so its PUN_DEBUG.

See Smartys' sticky topic in this very forum.

#7 Re: Announcements » The future of FluxBB » 2009-04-02 19:10:09

eliot
hcgtv wrote:
lie2815 wrote:
hcgtv wrote:

... those depending on this forum software are putting up web presences that are no longer hobby efforts. A forum is one of the most critical software decisions a community will make, because switching it out can be very difficult once the membership grows and the posts number in the 10's of thousands.

You're right, but what's exactly the problem? We have a very nice, very stable version out there and it's working fine...

I have 2 PunBB 1.2.21 forums going but I'm not about to put up any more, and I'll tell you why.

At present PunBB is a spammers destination, thankfully an updated Akismet plugin is keeping the posts at bay but they sign up by the thousands, and with email verification, I spend my time deleting failed delivery responses from my mail boxes. Maybe you can instruct me and new forum admins as to how do we stop the spammers from filling up our user roles?

This is off-topic for the thread, but maybe this will help.

The following works well for registrations:

http://fluxbb.org/forums/post/21387/#p21387

On mine, I don't bother checking if they are guest and I use get_remote_address(), which seems to work better than $_SERVER['SERVER_ADDR']), but otherwise I've been very happy since adding this.

(note that they've added 127.0.0.1 to their spam list, which means you can test this script on a local server, but you need to disable it to create test registrations on your local server, which for me is occasionally an issue).

#8 Re: General support (1.2) » The way "new post" function work » 2009-03-20 17:08:58

eliot

In 1.2, those marks are not "Unread marks", they are "New Posts" marks, meaning you'll see any topic that has new posts since your last login time.  When you click "Mark Posts Read", it actually updates your last visit time.

There are a couple of mods on punres.org which change these to work more the way you'd expect (i.e. to show the indicator when there are unread posts instead).  I haven't seen a list of features for 1.4, but I doubt that they will change this in that version, so you may want to search for one of these mods. 

It works better in 1.3 as you can probably see here, but not completely the way you may expect (i.e. it still gets reset to unread posts since your last login, i.e. if you don't read a thread now and come back later it is considered read unless there is a new post in the meantime).

#9 Re: General support (1.2) » how to code to suppress user and not his messages » 2009-03-13 19:33:24

eliot

if the option to keep the posts is selected, the profile.php is changing the user on those posts to guest just before deleting the user.

    $db->query('UPDATE '.$db->prefix.'posts SET poster_id=1 WHERE poster_id='.$id) or error('Unable to update posts', __FILE__, __LINE__, $db->error());

You would of course need to join to the user table to get the id from your username if you are deleting by username as your post implies.

I'm sure if you deleted the user without doing this, the posts still exist, but since they are orphaned they do not get returned in the queries for the topics.  you can probably update the existing ones which have ids that you have deleted if you know what those id's are now that you've deleted those user records.

#10 Re: Modifications (1.2) » Quote Back » 2009-01-02 00:20:31

eliot

This is quick and dirty in that you'd probably want to change the text I've put in to use the language file, and also find a good way to deal with the formatting of the link (i.e. on its own line rather than just jammed at the beginning of the quote), but this will work:

in post.php find

$quote = '[quote='.$q_poster.']'.$q_message.'[/quote]'."\n";

replace with

$quote = '[quote='.$q_poster.'][url=viewtopic.php?pid='.$qid.'#p'.$qid.']click for quoted post[/url]  '.$q_message.'[/quote]'."\n";

#12 Re: FluxBB discussion » The best way to get involved is to get involved » 2008-12-23 21:44:46

eliot
MattF wrote:

The point being made, however, is that there are quite a few people, (myself included), who have absolutely no intention of running 1.3* within the foreseeable future. smile To those, 1.2* is far more important.


+1            as the kids are saying these days.

#13 Re: General support (1.2) » Reset Database Password - how to? » 2008-11-24 21:05:33

eliot

It is only in config.php.

  $db_password = 'yourpassword';

  If it were in a database table, how would you log in to the database to  read the password without having the password? tongue

#15 Re: Feature requests » Supporting Microsoft SQL Server » 2008-10-29 18:24:51

eliot
Gil.DERENNE wrote:
MySQL wrote:

SELECT * FROM matable LIMIT 10

MSSQL wrote:

SELECT TOP (10) * FROM matable

Is it about you want to know ?!

Gil.DERENNE wrote:
MySQL wrote:

SELECT * FROM matable LIMIT 10

MSSQL wrote:

SELECT TOP (10) * FROM matable

Is it about you want to know ?!


that's fine for that type of limit statement, but the issue is fluxbb uses queries like

select [columns] from tablejoins where col=vals  limit x,y

which would select y rows starting after the xth row, for which there is no sql equivilent, so you'd need to build in parsing to get to strip out rows before x and after x + y, which would likely add some bad overhead.

#16 Re: General support (1.2) » Need a forum where users can add attachments to posts » 2008-09-30 23:10:46

eliot

The instructions are in the zip in the download link.  There also seems to be a patch  and some bug fixes described in this long thread:
http://punbb.informer.com/forums/viewtopic.php?id=7096

Been a long time since I used it tho'.

#18 Re: General support (1.2) » parsing smilies » 2008-09-21 11:47:28

eliot

That sounds like what would happen if the html is cut off.  Try changing the $subject line like this, then I'll give up smile

$subject = '<a title="'.pun_htmlspecialchars($cur_topic['subject']).'" href="viewtopic.php?id='.$cur_topic['id'].'">'.(strlen($subject) > 55 ? substr($subject, 0 , 45).'...' : $subject).'</a>'.$subscraction.'<span title="header=[<img style=\'vertical-align: middle;\' src=\'img/'.$pun_user['style'].'/forum_icons/info.gif\' />&nbsp;&nbsp;'.pun_htmlspecialchars($cur_topic['subject']).'] cssheader=[box_header] cssbody=[box_body] body=['. parse_message($cur_topic['message'],'0').'] delay=[0] fadespeed=[0.04] fade=[on]"><img style="vertical-align: middle;" src="img/'.$pun_user['style'].'/forum_icons/preview.gif" alt="" />&nbsp;</span><br /><span class="poster_name">'.$lang_topic['Started by'].':</span>&nbsp;<span class="username"><a href="profile.php?id='.$cur_topic['last_poster_id'].'">'.pun_htmlspecialchars($cur_topic['poster']).'</a></span>';

#19 Re: General support (1.2) » parsing smilies » 2008-09-21 10:58:39

eliot
shedrock wrote:

I get the following error:

Parse error: parse error, unexpected T_ELSE in c:\propaganda\viewforum.php on line 326


There's an extra right parenthesis in there, probably the one at char 650, but since your page and variable names are so different than mine, I can't test this out for you, just doing this a bit blind.

#20 Re: General support (1.2) » parsing smilies » 2008-09-21 03:32:50

eliot

That doesn't do what I thought.

Try something like this:

require_once( PUN_ROOT.'include/parser.php');
  $subject = '<a title="'.pun_htmlspecialchars($cur_topic['subject']).'" href="viewtopic.php?id='.$cur_topic['id'].'">'.(strlen($subject) > 55 ? substr($subject, 0 , 45).'...' : $subject).'</a>'.$subscraction.'<span title="header=[<img style=\'vertical-align: middle;\' src=\'img/'.$pun_user['style'].'/forum_icons/info.gif\' />&nbsp;&nbsp;'.pun_htmlspecialchars($cur_topic['subject']).'] cssheader=[box_header] cssbody=[box_body] body=['.(strlen(parse_message($cur_topic['message'],'0')) > 55 ? substr(parse_message($cur_topic['message'],'0'), 0 , 250).'<font style=\'color: red;\'>&nbsp;...cont\'d</font>' : parse_message($cur_topic['message'],'0')).'] delay=[0] fadespeed=[0.04] fade=[on]"><img style="vertical-align: middle;" src="img/'.$pun_user['style'].'/forum_icons/preview.gif" alt="" />&nbsp;</span><br /><span class="poster_name">'.$lang_topic['Started by'].':</span>&nbsp;<span class="username"><a href="profile.php?id='.$cur_topic['last_poster_id'].'">'.pun_htmlspecialchars($cur_topic['poster']).'</a></span>';


//
//

#21 Re: General support (1.2) » parsing smilies » 2008-09-21 02:20:06

eliot

It must be that trimlink function (which I'm assuming is php-fusion specific) which must be smart enough to not truncate in the middle of tags or something.  You'll need a function like that.

here are some php-fusion people discussing the same thing:
http://www.phpfusion-mods.com/forum/vie … owstart=40

#22 Re: General support (1.2) » parsing smilies » 2008-09-21 01:57:46

eliot

I still think you need to call parse_message on $cur_topic['message'], but here is the potential problem:

If you are cutting off the message body  at 45 characters before you call parse_message, it is possible that you have opened a bbcode tag that does not get closed until after the 45 characters, resulting in invalid bbcode which will  not parse.

If you try to cut off the message body  at 45 characters after you call parse_message, it is possible that you cut of the html in the middle of an html tag which will render invalid html with unpredictable results rendering your entire page.

If you do not cut off the message body, you may end up with huge page sizes with entire messages hidden in the popup divs, but it will probably work.

#23 Re: General support (1.2) » parsing smilies » 2008-09-20 18:39:22

eliot

What confuses me about your most recent post (before the bump) is that it seems to be a mix of html and php without any inline php tags.  It seems that it is not really the whole line of code.

#24 Re: General support (1.2) » Display amout of users viewing » 2008-09-20 18:36:45

eliot

I think there's plenty of people who will not be moving on right away for many reasons.

As Gizmo already said, there is a mod on punres for this.  You should go find it.  If you have specific questions when implementing it, I'm sure someone will help you.

#25 Re: General support (1.2) » parsing smilies » 2008-09-15 03:02:57

eliot

That's clearly not a standard title attribute.  You must have some custom javascript there.  I'm sure it will work the same for flux if you include the same javascript code.

I think you want to call parse_message() (which is in the include/parser.php), but its hard to tell because I don't know what your doing.

Board footer

Powered by FluxBB 1.4.8