So, this allows me, as an admin at my forums, to post HTML?
1,451 2005-09-26 16:08
Re: Administrator / Moderator posts as HTML 1.0 (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1,452 2005-09-26 16:06
Re: How to change the Version number? (4 replies, posted in PunBB 1.2 discussion)
The PunBB download archive comes with a file in the /extras directory that updates your forum's database. Also, there is a forum version changer plugin in the downloads section (http://punbb.org/downloads.php).
1,453 2005-09-26 15:14
Topic: Banning temporary inboxes (3 replies, posted in PunBB 1.2 discussion)
I'd like to prevent users from registering on my forums with temporary email addresses. Besides jetable.org, does anyone know some domains I should block?
1,454 2005-09-26 15:06
Re: Hacked by Altan (101 replies, posted in PunBB 1.2 discussion)
What this does, is check if the specified server responds to a "ping". If it doesn't, well, you'll get the invalid e-mail adress error message. It won't do much good if the "hacker" really specifies a real e-mail domain, but he didn't in this case, so then it would have blocked him
I made the tweak on my register.php, and tried registering with the email brian@ZZZZZZZZZZZZZZZY.org (fake), yet the registration still went throught. Any ideas?
1,455 2005-09-26 14:48
Re: Forward or "Send to your friend" posts (18 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I opened the forwarding functionality for Guests also.
Restricted guests from editing message and title with readonly tag, tested with IE and mozilla latest versions. hope that will work with older versions also
Installed the mod, works great. How can I enable forwarding for guests too, like you did?
1,456 2005-09-26 00:41
Re: Please help me resolve this error (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ok, thanks, I'll try it out. I knew about the semicolons, and was planning on getting rid of them. That's just what the original author put in.
1,457 2005-09-25 20:47
Topic: Please help me resolve this error (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Right now I'm trying to integrate a simple link script called DS Linker into my forums. However, when I try to test the little progress I've made so far, I get the following error:
Parse error: parse error, unexpected $ in /mnt/web_g/d20/s22/a000skup/www/awesome/forum/linkerintegrated.php on line 69
Here's the code I have so far (not much, and not yet very well polished, but it's a start)
<?php
# Email address for link submissions to be sent to. (Required)
$sendto = "XXXXXXXXXXXXXXXXXXXXX";
# Set this to a password you will have to enter to approve links (Required)
$approvepass = "XXXXXXXXXXXXXXXX";
# Subject line in the email notification. (Required)
$subject = pun_htmlspecialchars($pun_config['o_board_title']) . ' / New Link';
# Form position. Top = 1, Bottom = 0. (Required)
$form = "0";
# Display name of link submitter with link? yes = 1, no = 0. (Required)
$submitname = "1";
# Link descriptions? yes = 1, no = 0. (Required)
$description = "1";
# Page title, e.g. the text between <title></title>. (Required)
$title = "Links";
# Text at the top of the page, leave blank for none. (Optional)
$toptext = "Member Links";
# For text longer than a few words, put it in a txt file, put the file in the same directory as linker.php, and give the filename here. (Optional)
$longtext = "";
# End of config section, do not edit below this line
/*==================================================================================*/
$version = 1.3;
define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
//Set the page title here
$page_title = pun_htmlspecialchars($pun_config['o_board_title']) . ' / ' . $title;
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';
?>
<div class="block">
<h2><span><?php echo($toptext); ?></span></h2>
<div class="box">
<div class="inbox">
<?php
if (!isset($_GET['action'])) {
ob_start();
include_once("links.dat");
$rawdat = ob_get_contents();
ob_end_clean();
$dat = strip_tags($rawdat, '<a><b><i><u><br><p>');
if ($longtext != "") {
include("$longtext");
print ("<p>");
};
if ($form == "0") {
print ($dat);
};
?>
</div>
</div>
</div>
<?php
require PUN_ROOT.'footer.php';
Does anyone know how to stop this error? I can't proceed until I figure it out.
P.S. Even if i delete line 69 (the footer.php thing), the error still appears, just for a different line.
1,458 2005-09-25 02:08
Re: How can I do these things on my forums? (15 replies, posted in PunBB 1.2 discussion)
Now that I think about it, if you keep a "last edited" and "last edited post id" for each topic, you can check both: I was only thinking in terms of modding the code from what already existed.
Sorry , but once again, I really can't say that I understand what you're saying.
Oh, and to explain #4 a little better
With a plain PunBB install, it's impossible to add another moderator group. However, if you edit the line in certain files for the variable $is_admmod (ie: edit.php, delete.php, viewforum.php, etc) so that another group matches it, you've "added" a group as moderators. You also have to make edits in profile.php so you can assign people in that user group to forums
Ok, I see what you're saying now. My PHP isn't that good, and I'm not that familiar with PunBB's source or inner workings or anything, but anyway could I do something along these lines?:
if ($someusergroup) {$is_admmod = TRUE}
If that's possible, is there a file in /include or something (common.php? - I dunno, just guessing by the name) to which I could add the code? Or would I just have to add it individually to each file where it's needed (assuming that would work, of course).
Hopefully multiple moderator user groups will be a feature in an upcoming version.
For pogenwurst: look at the MarkAsRead modification. But it's a mod, so that mean ssh, svn, diff, patch, grep and all kind of dino-geeky-wizard things to keep your punbb updated after it (when it can be updated).
Do you mean this: http://punres.org/viewtopic.php?id=321 ? Does that mod achieve the desired effect with editing posts that I mentioned before? I haven't seen anything saying it does, but maybe I missed something. Anyway, I don't mind installing mods - actually, I enjoy it, and have done so on several occasions. That mod was actually one I was planning on adding anyway.
I can't see the difficulty either. Isn't it just a case of checking against both the post time and edit time and if either is newer than the last visit time mark the post as new. Or did you mean posts that have been edited during the current visit.
Current visit would be preferrable, but just from last visit would be good too, and, in most cases, be good enough. How would I go about doing this?
1,459 2005-09-25 00:18
Re: How can I do these things on my forums? (15 replies, posted in PunBB 1.2 discussion)
4 isn't possible without editing every $is_admmod check and a couple others
Sorry, but I really don't know what that means.
3 is possible by commenting out the checkbox and changing
$edited_sql = (!isset($_POST['silent']) || !$is_admmod) ? $edited_sql = ', edited='.time().', edited_by=\''.$db->escape($pun_user['username']).'\'' : '';
to
$edited_sql = ', edited='.time().', edited_by=\''.$db->escape($pun_user['username']).'\'';
Thanks! I'll have to give it a try.
2. Is possible through moderate.php, they delete like normal topics
Oops... I never even thought of that.
1. Is very difficult
Yeah, I kinda thought it would be.
1,460 2005-09-24 23:42
Topic: How can I do these things on my forums? (15 replies, posted in PunBB 1.2 discussion)
- Mark a post that has been edited since your last view of it as unread (I dunno, maybe, this one might be a bit tricky)
- Delete redirects to topics (Moved: blah blah blah)
- Disable silent edits
- Create a new user group and be able to give it's members moderator priveleges
1,461 2005-09-24 22:11
Re: Firefox Security Alert (15 replies, posted in General discussion)
I'm just plain sick of those kind of arguments. The number of security bugs doesn't matter. It's the severity of those bugs, how long it takes to patch them (if they are patched at all), and how those bugs are exploited by hackers and purveyors of spyware, adware, etc.
1,462 2005-09-22 01:19
Re: PunBB 1.2.8 (67 replies, posted in News)
Upgrade went fine, even with some mods installed. Yay!
1,463 2005-09-21 22:23
Re: Admin Logs 1.0.1 (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Sounds cool. I'll have to try it.
1,464 2005-09-19 19:34
Re: Alt text for smilies (6 replies, posted in Feature requests)
Cool. Thanks CodeXP!
1,465 2005-09-18 21:29
Re: OLD TOPIC TO DELETE (133 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Does this work on 1.2.7?
Yes.
1,466 2005-09-15 18:56
Re: New Site / Board / Store - All In Punbb (5 replies, posted in PunBB 1.2 show off)
Awesome. Is that a modified version of the Kontrast style?
1,467 2005-09-12 19:30
Re: To be advised of the creation of a new topic in a specific forum (2 replies, posted in Feature requests)
Try looking at the docs to find out how to generate an RSS feed of new topics, then use a service such as RSSFWD.
1,468 2005-09-12 19:25
Re: You can see profile! v.2.0 (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I just added it to my forums - works wonderfully. Thanks!
1,469 2005-09-11 19:35
Re: redirect and Firefox (9 replies, posted in PunBB 1.2 troubleshooting)
The redirect bug was fixed in 1.2.7.
That's wierd - I didn't have trouble with 1.2.6 either.
1,470 2005-09-11 18:33
Re: Image Post (41 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Since I've done a rather grown up image catalogue anyway I'd rather base it on that.
Yeah, that would probably be better.
1,471 2005-09-11 18:31
Re: redirect and Firefox (9 replies, posted in PunBB 1.2 troubleshooting)
I'm also on Fx 1.0.6, but no problems with redirects. Do you have any extensions/settings that might be causing trouble?
1,472 2005-09-11 18:27
Re: RSS Autodiscovery (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Works great thanks.
No problem.
1,473 2005-09-11 01:23
Re: Invitation 1.0.1 (38 replies, posted in PunBB 1.2 modifications, plugins and integrations)
The only tricky part is that it requires a new field in PREFIXgroups. That's defined in mod_install.php so maybe you can do it in phpMyAdmin.
Ok, I just realized my host had phpmyadmin pre-installed . What command can I put in to add the new field?
1,474 2005-09-10 22:39
Re: Image Post (41 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Very interesting ... maybe I'll contact you for a bigger project :) but for newbies, it's perfect. is it possible to have a page which lists the uploaded files ?
I guess you could just make a script that lists the files in the img/users directory. Wouldn't be all that elegant, but it'd work I guess. Once upon a time I downloaded a really old version (none of the fancy JS stuff, really bad design) of this script. You might be able to modify it or a similar script.
1,475 2005-09-10 22:31
Re: Punbb Tshirt (34 replies, posted in Feature requests)
I added a few more t-shirts with the bigger print. Thing is, you can only add a product type once, so you can't have the same t-shirt with two different prints.
Cool. If I ever go to a geek convention (not to insult anyone here, I spend way too much of my time on the PC too) I'll probably buy one.