The second attribute is for displaying smilies yes or no So just put 1 or 0
1,501 2006-09-07 18:09
Re: parse error after viewtopic.php modification (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1,502 2006-09-07 17:36
Re: parse error after viewtopic.php modification (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Change
<h3><?php echo (pun_htmlspecialchars($cur_topic['subject']) ?></h3>
to
<h3><?php echo pun_htmlspecialchars($cur_topic['subject']) ?></h3>
1,503 2006-09-07 16:16
Re: Insert user_id in other database (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ah, I see now. Well, you have to select another DB when doing this. But don't forget to switch back to your forum DB or everything will be messed up.
1,504 2006-09-07 15:41
Re: Insert user_id in other database (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, that's clear enough, no? >=/
1,505 2006-09-07 15:05
Re: Steve Irwin (25 replies, posted in General discussion)
At the end of the day if you dont agree with people respecting anothers death. Then probably best you dont post at all.
I agree with people respecing another's death, but I just can't stand the fact that they're always making a big deal of it if the person who died was somewhat known.
It sucks for the family and all, but frankly I don't give a damn about 1 out of, what, 3-4 billion people who dies >=/
No disrespect and all, but there is no need to see multiple threads about it on each forum where they go on about "damn he's so great" while they never knew him.
Oh, and to the people being sad about them not broadcasting his death, how would you feel if a family member of you dies and his/her death is shown everywhere on the world?
In the end you'll be jealous for the dead people when you look at the world.
1,506 2006-09-07 14:58
Re: List BBCode 1.0 (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
<menu> isn't valid XHTML, nor is the <li> when it isn't closed.
<menu> isn't? Hrmm. Well, without it lists won't work
And yes, I know about the <li>, I'll remakethis mod in 1.3 to use Regular Expressions
1,508 2006-09-07 08:33
Re: Steve Irwin (25 replies, posted in General discussion)
All this fuss about a dead guy... >=/
1,509 2006-09-06 17:30
Re: Putting content to the right of the links (5 replies, posted in PunBB 1.2 troubleshooting)
Put it in front of your navlinks and make it float: right.
1,510 2006-09-06 14:28
Re: Include baseurl with smileyparsing (11 replies, posted in Feature requests)
It has been added for 1.3 a few days ago
1,511 2006-09-06 11:31
Re: NEW POSTS NOT SHOWN! This problem does us. We are just upset. HELP!!! (36 replies, posted in PunBB 1.2 troubleshooting)
The subforum mod is probably the cause, both are known to have problems
1,512 2006-09-05 17:06
Re: Auto Login (14 replies, posted in PunBB 1.2 discussion)
Hello! I have a error whith this code.
when login
login.php?form_sent=1&action=in&req_username=MyUsername&req_password=MyPassword
I haveFatal error: Call to undefined function: unescape() in /var/www/html/l/lesbizounours/forums/login.php on line 40
In login.php, I have
(ligne 38) if (isset($_REQUEST['form_sent']) && $action == 'in') (ligne 39) { (ligne 40) $form_username = unescape(trim($_REQUEST['req_username'])); (ligne 41) $form_password = unescape(trim($_REQUEST['req_password']));
Thank you in advance
I have no idea what unescape() does, but try replacing it with $db->escape()
1,513 2006-09-05 16:40
Re: What editor do you use for php? (114 replies, posted in Programming)
elbekko wrote:MadHatter wrote:the only thing that annoys me about dreamweaver is their intellisense/code insite/code complete (whatever you want to call it). when I type something, the hint list drops down, and I always use the wheel mouse to scroll up and down the list. w/ dw, it scrolls the page and leaves the drop down list at the original x/y location on the screen (doesnt scroll the list at all)
You can turn that off tho. And just call it with CTRL+Space when you need it. I just love the function tooltips etc, as I tend to forget the order of the arguments =/ It's syntax highlight is lovely too, but that might just be me being used to it, no idea...
yea control+space is how most code completion lists are brought up (and the reason why most of my code is misspelled:D), but where do I modify the setting for wheel mouse scrolling (so that it scrolls the list not the window)?
I have no idea =/ I usually just use the arrow keys or type untill I'm in the area of the correct function.
1,514 2006-09-05 10:04
Re: returned to install.php after filling out install.php form (10 replies, posted in PunBB 1.2 troubleshooting)
You return to install.php to copy the information needed in config.php
1,515 2006-09-05 10:02
Re: Attachment Mod: Bypass max upload limit defined in php.ini (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I doubt this is possible That ini directive is there to limit such things, not to be bypassed...
1,516 2006-09-04 21:01
Re: Arcade Fire Fansite using integrated & customized PunBB... (4 replies, posted in PunBB 1.2 show off)
This is very, very nice
*drools a bit*
1,517 2006-09-04 21:00
Re: got bored completely redid my site.. (10 replies, posted in PunBB 1.2 show off)
Quite nice, but not valid.
1,518 2006-09-04 19:22
Re: MH Forum Version 2... (9 replies, posted in PunBB 1.2 show off)
Very nice, except for that annoying yellow bar at the top and that there is horizontal scrolling for nothing...
1,519 2006-09-04 16:48
Re: Problems Integrating (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
When I echo $pun_user['is_guest'] I get a 3
What does that mean?
That's odd...
1,520 2006-09-04 16:43
Re: Integration whit my Webpage (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
You'll have to change register.php for that I believe.
1,521 2006-09-04 16:25
Re: Problems Integrating (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
When using in a function you have to make the variable global
And checking for loggedin: $pun_user['is_guest']
1,522 2006-09-04 16:01
Re: Integration whit my Webpage (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, just set the forum's permissions to disallow guest posting. Somewhere else you can use $pun_user['is_guest'], which returns a boolean.
1,523 2006-09-04 15:47
Re: Automated Forum selection (2 replies, posted in Feature requests)
That's probably doable by checking the referer, but I doubt it'll be implemented in PunBB
1,524 2006-09-04 15:00
Re: Ajax "from scratch" (12 replies, posted in Programming)
I've attempted to do a chatbox in AJAX and PHP once. It only worked decently in FF, IE screwed up quite a bit and it didn't work at all in Opera =/
Making it work for FF is easy enough... for the others is a pain in the arse
1,525 2006-09-04 14:57
Re: Integration whit my Webpage (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, for the access only for administrators, do something like this:
if($pun_user['g_id'] != PUN_ADMIN)
exit('You aren't allowed to be here! :o');
Or use message() instead of exit, doesn't matter much.