Could you post your code?
Oh, and if you want PUN_QUIET_VISIT to not happen, don't define it. Otherwise, define it as 1 (otherwise, it looks confusing)
2,851 2007-06-14 14:43
Re: <image> instead of the displaying the image (3 replies, posted in PunBB 1.2 troubleshooting)
2,852 2007-06-14 14:42
Re: site in map problem (19 replies, posted in PunBB 1.2 troubleshooting)
What's a map, in this context?
2,853 2007-06-13 23:15
Re: <image> instead of the displaying the image (3 replies, posted in PunBB 1.2 troubleshooting)
From lang/English/common.php
'Image link' => 'image', // This is displayed (i.e. <image>) instead of images when "Show images" is disabled in the profile
2,854 2007-06-13 22:06
Re: forum main file size (11 replies, posted in PunBB 1.2 discussion)
I'm not familiar with how to query SQLite databases from the command line
2,855 2007-06-13 21:16
Re: Mark topics as read v1.1 (92 replies, posted in PunBB 1.2 modifications, plugins and integrations)
My mistake, I apologize -- how exactly does the "New topic read marking system" work then?
Well, last visit time still determines if a post is possibly new or not. If the last post time for a topic is older than the last visit time, the topic is marked as read. If it's not, we then check against the last read time for the specific topic stored in a cookie. If there is no last read time for that topic or the last post time is newer, the topic is new. Otheriwse, it's old
2,856 2007-06-13 21:14
Re: forum main file size (11 replies, posted in PunBB 1.2 discussion)
http://www.sqlite.org/lang_vacuum.html
I'm not sure, but that might help
2,857 2007-06-13 21:13
Re: More comprehensive descriptions in the admin panel (7 replies, posted in Feature requests)
Then enable PUN_SHOW_QUERIES and PUN_DEBUG and have compare query counts, query times, etc
There's a great deal more than just "fewer queries = better!" and I have a feeling that's the point you're at now. I would focus less on the number of queries being run unless it's becoming a serious performance issue, in which case it's most likely due to a mod rather than PunBB itself.
2,858 2007-06-13 17:54
Re: forum main file size (11 replies, posted in PunBB 1.2 discussion)
Are you using MySQL?
2,859 2007-06-13 17:54
Re: Redirect guest users from PunBB frontpage? (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Give an example of a change you made?
2,860 2007-06-13 17:53
Re: More comprehensive descriptions in the admin panel (7 replies, posted in Feature requests)
If people'd care enough about a single query extra, they'd notice when enabling it.
Indeed. Plus, it's not always as easy as saying "this adds one sql query"
Options can modify queries as well, making them more or less complex.
Also, it would only serve to confuse people who aren't familiar with SQL.
2,861 2007-06-13 10:41
Re: Redirect guest users from PunBB frontpage? (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
if ($pun_user['g_read_board'] == '0')
message($lang_common['No view']);
2,862 2007-06-13 10:27
Re: need to find a code, cant find please help (3 replies, posted in General discussion)
That's not PunBB code, at least not unmodded code
2,863 2007-06-13 10:26
Re: Redirect guest users from PunBB frontpage? (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Plugins are only for moderator/admin features, so that's not an option.
You want to redirect, as opposed to showing them a message? Just look for the permissions check that already exists and change it to a redirect
2,864 2007-06-13 10:25
Re: Transferring KOREAN database (1 replies, posted in PunBB 1.2 troubleshooting)
Make sure the character encoding used in both places is the same (both the database encoding and the display encoding)
2,865 2007-06-13 10:25
Re: trouble with users logging in...but not (4 replies, posted in PunBB 1.2 troubleshooting)
The problem is that you link them to www.semww.org but when they login they're redirected to semww.org
Set $cookie_domain in config.php to .semww.org
2,866 2007-06-12 20:01
Re: What am I doing wrong? (17 replies, posted in Programming)
Moved to Programming
Enable debug mode, paste the full error
2,867 2007-06-12 19:07
Re: Punbb and Reinvigorate stats tracking (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yes
Moved to Integration
2,868 2007-06-12 15:18
Re: IPB -> PunBB (23 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2,869 2007-06-12 14:51
Re: Modification in registration (14 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Go to Admin->Options->the block "Registration"->select "yes" for "verify registrations"
But that doesn't allow users to choose their own password at registration
2,870 2007-06-12 02:56
Re: Suitable Layout? (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
And it's to be expected that generic templates (from a site like OSWD) are different from templates for a specific piece of forum software. As people have said, you need to edit the template to fit your needs
2,871 2007-06-12 02:54
Re: If pun_user is authenticated AND is in usergroup N (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
if (!$pun_user['is_guest'] && ($pun_user['g_id'] == PUN_ADMIN || $pun_user['g_id'] == PUN_MOD))
return true;
else
return false;
2,872 2007-06-12 02:44
Re: Mark topics as read v1.1 (92 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Twig wrote:cytexone wrote:Hello Everyone,
First off this Mod is awesome... Second, does anyone know how to disable the mod from automatically marking topics as read after the user timeout has occurred, in addition if the user logs off we don't want the topics marked as read? I only want it to mark the topic as read if they actually reads the topic.
Thanks so much
Dan
CYTEXONEYea, I also have a problem with that
PunBB will behave the way you desire in version 1.3.
Actually, it won't. The last visit time will still play a role: storing all the topics ever read by a user in a cookie does not work in the long run and does not work when the user uses multiple computers. Even with a database based system like this mod, unless you're willing to sacrifice the space to store all that data, you're going to run into issues.
A better idea might be to set the timeout to a longer period of time (eg: an hour)
2,873 2007-06-11 10:38
Re: replacing timestamps with "posted 47 minutes ago" etc. (12 replies, posted in Feature requests)
format_time function in include/functions.php
2,874 2007-06-10 17:10
Re: pun_htmlspecialchars (8 replies, posted in Programming)
You don't need the global line since you're using none of those variables.
For the second function, I think you want to return the value, not store it in a local variable
For both functions, why can't you simply call pun_htmlspecialchars when you need it, as opposed to wrapping it in a new function?
2,875 2007-06-10 14:41
Re: replacing timestamps with "posted 47 minutes ago" etc. (12 replies, posted in Feature requests)
nickfzx's post above didn't help?