go to Admin and in Options changing your board title will change it to Your Board Title Mailer. the "Mailer" part is changed in \lang\<language>\common.php
27 2007-04-03 21:30
Re: My long awaited website. (17 replies, posted in PunBB 1.2 show off)
nice work. for security though i would remove the version of PunBB you are using in case an exploit or something is found for that version.
28 2007-04-02 21:26
Re: Strange needs? (11 replies, posted in Feature requests)
thats rather ridiculous imo
ridiculous, i agree - this is svo's request, not mine, and he/she may have a specific purpose for it. but having the key requested in admin does not allow anyone else to decrypt it without knowing both the admin username, admin password, and finally the decryption key required.
29 2007-04-02 20:18
Re: Strange needs? (11 replies, posted in Feature requests)
not if svo passes the key as a seperate "password" in the admin area when he wants to view the IP. the user would need both the admin password plus the decryption key to see the IP.
30 2007-04-02 11:38
Re: some questions (5 replies, posted in PunBB 1.2 discussion)
yep it is in the /style folder. the CSS you use is the one to edit there. should be at the very top, like:
body {
background-color: #FFFFFF;
color: #000000;
font-family: Arial;
font-size: small;
}
31 2007-04-02 11:35
Re: Strange needs? (11 replies, posted in Feature requests)
- Hide the users list for new users
In userlist.php, after:
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
add something like:
if ($pun_user['is_guest']) {
echo "Failure - ".$pun_user['username']." not permitted access.";
require PUN_ROOT.'footer.php';
exit();
}
else {
...rest of normal code...
}
should work but make a backup and test it first.
- Moderate only the new user's posts
Comment Control 2.0.0 looks similar to what you want but not fully, moderates guests and posting new topics. can be modified further to do what you want.
- Encrypt IPs in the database.
very possible but don't think a mod exisits for it. why would you want to encrypt the IPs?
32 2007-04-02 01:33
Re: sub forums question (10 replies, posted in PunBB 1.2 modifications, plugins and integrations)
don't think this is implemented. perhaps request it in the Sub Forums Mod thread? someone who has a little bit of time will fix it to do so at some point hopefully.
33 2007-04-01 16:27
Re: sparu.com Forum (15 replies, posted in PunBB 1.2 show off)
thanks quaker for the feedback.
regarding the credits, i had almost the exact same thing that you currently have before you complained, PunBB was and still is credited and linked to on every page, as:
the About page also credits PunBB and Patrik - which your site does not do at all. regardless, this discussion is over, i just hope you don't go complaining about others when they do the exact same as you and it is perfectly fine to do.
34 2007-03-31 22:34
Re: QUERIES (39 replies, posted in PunBB 1.2 troubleshooting)
what mods or changes have you made since installing PunBB? perhaps post your index.php?
35 2007-03-30 20:04
Re: Auto linking! (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
cool. one thing though that it may warrant developing it into a seperate mod is that someone who types info like "Google Finance", "Google Checkout", "Google News", "Google Checkout" etc etc will only have Google linked while of course the remaining part of the name would be not linked. a sort of inlcusions, exclusions list to this that one makes manually may fix this.
36 2007-03-30 14:08
Re: sparu.com Forum (15 replies, posted in PunBB 1.2 show off)
thanks MadHatter, well aware of all that. quaker has still not replied and his footer on both sites is still the same and not acknowledging copyright to Rickard Andersson - i have no problem with this as Rickard himself has removed the copyright (that is why it was removed on mine and put on the About page with a link still to PunBB on every page) but it is when someone like quaker says you shouldn't remove it but then does it him/herself anyways is what is really annoying.
moving on - any further comments about the Forum and/or site? i know the design is quite plain, i might change that in the future. it is meant to be simple, fast and easy to navigate.
37 2007-03-29 02:18
Re: HTML mod - safe ? (23 replies, posted in PunBB 1.2 discussion)
if you are going to use or make an HTML mod for your forum have it only for Admins of course, but better yet, only allowed by Admins in certain forums. In my forum, the admin can post HTML but only on the specific forums that allow this (these being the ones for news/announcements that appear on the homepage etc). Allowing unrestricted use of HTML by a certain group will also make the forum messier and make the divide between admins and regular users bigger.
38 2007-03-28 01:23
Re: sparu.com Forum (15 replies, posted in PunBB 1.2 show off)
thanks MadHatter.
i give credit for all my mods for pun....
http://nalan.org i have modified the footer to include some links.
quaker, i don't like to bring this up again, but i am forced to having seen your site there as you yourself left out the copyright for PunBB and yet you have no problem telling others off for it? on both http://nalan.org/ and http://modelcrowd.com/ footer pages you have only "Powered by PunBB© Copyrighted Material 2000?2007 MC" and "Powered by PunBB© Copyrighted Material 2000?2007 Modelcrowd.com" - this is almost the same as what i had originally but i re-added "PunBB © Copyright 2002?2007 Rickard Andersson" as per your comments.
not at all impressed. if you are going to give out advice first make sure you yourself follow it properly.
39 2007-03-27 21:09
Re: sparu.com Forum (15 replies, posted in PunBB 1.2 show off)
that kewl...
any comments on the actual forum integration etc?
40 2007-03-27 21:02
Re: sparu.com Forum (15 replies, posted in PunBB 1.2 show off)
i prefer to keep things minimalistic - that is why i have the Minima style for the Forum - while of course providing credit on the About page of the site to anyone who has helped with the site etc.
everyone is different, but when the author of PunBB removes the copyright from the footer then you can't expect every person to put it back in who creates a forum with PunBB. as long as the link to PunBB is there providing PunBB with return traffic and more users etc then that is what i think the PunBB author expects. nonetheless, i think the copyright notice is a good thing to have and i would have kept it their originally if Rickard hadn't removed it from version 1.3 which is basically telling everyone using 1.2 and below that it is to be removed.
41 2007-03-27 17:34
Re: sparu.com Forum (15 replies, posted in PunBB 1.2 show off)
oh i'll re-add that if that is needed - i have PunBB credited on the About page, there is also a link back to PunBB on the footer of every page of the site (including areas that are not the forum), i have donated to PunBB and contributed to numerous threads with coding help, plus most importantly version 1.3 doesn't have the copyright notice anymore - that and this thread is the only reason i assumed it was ok to edit it to save space but still credit PunBB and link back to the site.
EDIT - anyways i re-added it now - thanks for notifying me quaker
42 2007-03-27 08:11
Topic: sparu.com Forum (15 replies, posted in PunBB 1.2 show off)
sparu.com Forum - uses Minima theme, Sub Forum Mod, PM Mod, and some smaller ones.
Let me know what you think!
43 2007-03-24 00:42
Re: Edit Post Date/Time (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
good mod, but i found a small bug, when a date/time is changed for a post that is the last post someone posted, the time showing for this users last post is not updated. an updated step 6 to fix this minor error is below:
#
#---------[ 6. BEFORE, ADD ]-----------------------------------------------
#
// mod: edit date/time
if ($is_admmod && isset($_POST['silent']))
{
$new_posted = mktime(
intval($_POST['req_posted_hour']),
intval($_POST['req_posted_minute']),
intval($_POST['req_posted_second']),
intval($_POST['req_posted_month']),
intval($_POST['req_posted_day']),
intval($_POST['req_posted_year']));
if ($new_posted == false || $new_posted == -1) // -1 before PHP 5.1
$errors[] = "Invalid post date/time.";
else
{
$new_posted -= $tz_diff;
// Updated with the rest of the post
$new_posted_sql = ', posted='.$new_posted;
// Is this the "topic post"?
if ($id == $topic_post_id)
$db->query('UPDATE '.$db->prefix.'topics SET posted = '.$new_posted.' WHERE id = '.$cur_post['tid']) or error('Unable to update topic', __FILE__, __LINE__, $db->error());
// Try to update topic
$db->query('UPDATE '.$db->prefix.'topics SET last_post = '.$new_posted.' WHERE last_post_id = '.$id) or error('Unable to update topic', __FILE__, __LINE__, $db->error());
update_forum($cur_post['fid']);
// Fetch the post ID of the last post from the user who posted this post that is being edited
// and if this post is the last post he/she posted, then change his/her last post time
$userLastPostIDCheck = $db->query('SELECT id FROM '.$db->prefix.'posts WHERE poster_id = '.$cur_post['poster_id'].' ORDER BY posted DESC LIMIT 1') or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
if (!$db->num_rows($userLastPostIDCheck)) {
message($lang_common['Bad request']);
}
$userLastPostID = $db->fetch_assoc($userLastPostIDCheck);
if ($userLastPostID['id'] == $id) {
$low_prio = ($db_type == 'mysql') ? 'LOW_PRIORITY ' : '';
$db->query('UPDATE '.$low_prio.$db->prefix.'users SET last_post='.$new_posted.' WHERE id='.$cur_post['poster_id']) or error('Unable to update user', __FILE__, __LINE__, $db->error());
}
}
}
else
$new_posted_sql = '';
44 2007-03-17 19:40
Re: Time Zones (6 replies, posted in PunBB 1.2 troubleshooting)
or you can replace everywhere that time() exists to $currenttime (this is a lot of files just a warning!), where in common.php it is:
$hoursDifferenceToServer = 6; // or whatver hour difference your site is to the server (6 for +6 hours, -3 for -3 hours etc)
$currenttime = time() + ($hoursDifferenceToServer * 3600);
in functions where time is normally called you will need to have $currenttime as a global variable though for it to work also. i have done this for a forum that is Ireland-based (GMT) but hosted on a US server (GMT-6) - which now means that any visitor / new users will see default time as GMT (correct!) rather than GMT-6 (incorrect!) which is best as 90% or so of users are in Ireland (GMT).
45 2007-03-17 04:33
Re: Sub Forum Mod 1.0 (128 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Updated to 1.0.9.1 - minor change of an earlier fix by NeoTall that somewhere along the lines got messed up again.
Sub Forum Mod 1.0.9.1
History:
Fixed in version 1.0.9.1
- Re-fixed topic and post counts & last post link due to invalid variable brought in from earlier version
Fixed by naitkris:
in version 1.0.9
- Sub forums now display in order of 'disp_position' on Index as set in Admin CP
Fixed by twohawks:
in version 1.0.8
- Option to set sub forums view for 'inline' or 'multi-line' listing on Index
- Option to hide the sub forums view on Index
Fixed by naitkris:
in version 1.0.8
- Added Index view from nico_somb's version and modified to work here (was seperate version before)
Fixed by binjured:
in version 1.0.7
- Optimised code on index.php so query isn't run for every forum processed
Fixed by naitkris:
in version 1.0.7
- Fixed "Moderated by" when viewing parent forum of multiple sub-forums with/without moderators
in version 1.0.6
- Fixed items in the quickjump so sub forums are indented (like fix in 1.0.4 by NeoTall for search)
Fixed by Timpa:
in version 1.0.5
- Correctly sorting subforums
- Now showing last post as it should
Fixed by NeoTall (Rus):
in version 1.0.4
- Fixed items in combobox "Select where to search"
in version 1.0.3
- Fixed search in SubForum when using "Non-MultiByted" language
in version 1.0.2
- Correctly displaying Last Post, Last Poster and Last Posted Time
- Correctly displaying Total Topics and Total Posts
in version 1.0.1
- Correctly creating Last Post link
- Correctly displaying word "Topics" on SubForum header
You will need to re-generate your quickjump cache after applying this mod for the quickjump to indent. The Clear Cache administration plugin can do this for you easily and is available from the PunBB Downloads page.
All credit to nico_somb for the Index View version as it is just taken from his version and modified a tiny bit to work with this one.
Sub Forum Mod is copyright of pabb.
46 2007-03-16 21:29
Re: Auto linking! (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
what if someone posts:
[url=http://www.google.com]Google[/url]
then i would guess it makes it
[url=http://www.google.com][url=http://www.google.com]Google[/url][/url]
which is not desireable.
a regex check would need to be done checking for ] and [ etc on either side of the word.
47 2007-03-14 01:21
Re: How the hell do u customise this forum ?? (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
you can also hack apart PunBB to suit your site very well but i have found that once you do this, should you want to upgrade PunBB when a new major version (1.3) is released then it will make life very difficult. 1.3 should make integration easier but there is no known release date for this so it could be months or even years away before a final build is out.
48 2007-03-14 01:16
Re: News Generator - archive generation issue (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Please explain how you:
modified my version of punBB so that news is generated automatically after posting/editing/deleting
this can be done using extern.php like in this example
49 2007-03-08 20:00
Re: Few questions about integration (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
very possible - you could do it in 2 ways that i can think of straight off:
1) create a new column in the category or forum table to specifiy "francais", "english", "espanol" etc and then use the same index.php to show the relevant forums depending on whether the URL contains "forum/fr/", "forum/en/", or "forum/es/" etc
2) have a custom index.php for each language forum within your 1 forum that pulls only the relevant forums (no need to alter the DB then but it will be more messy should you add new forums later)
50 2007-03-08 19:44
Re: Edit time limit (25 replies, posted in Feature requests)
that can be asked of many things. the point of it is that it is a common feature in almost all discussion forum software, there is a demand for it, it is also very easy to implement, and it also takes little extra computation time.