Possible, yes, but not without modifying the source a bit. I don't quite see any reason why anyone would want it working that way though..
351 2005-08-20 22:36
Re: Maintaining Login in 1 browser Only (3 replies, posted in PunBB 1.2 discussion)
352 2005-08-20 21:31
Re: Username and Userid entered with posts? (9 replies, posted in PunBB 1.2 discussion)
Yes, if an admin changes a username, all posts by that user will use the new name.
353 2005-08-19 19:19
Re: An IMac style for you (6 replies, posted in PunBB 1.2 discussion)
Hi all.
I have added a new style on the collector for your nice Forum PunBB, this style is called "IMac"
You can view and download this in here.
Have fun.
The style is very nice, but what I'm most interested is your dowload system... Care to share it?
354 2005-07-15 20:43
Re: hcgtv, the forum (13 replies, posted in PunBB 1.2 show off)
although its not just IE, i mean no one supports css properly
That's true, but IE is definetely the worst of them. What bugs me the most right now, aside from the "tags" it doesn't support, is that it can't cache images refered in the CSS
355 2005-07-15 20:12
Re: hcgtv, the forum (13 replies, posted in PunBB 1.2 show off)
Thanks CodeXP, it's taken me a bit to get my head around CSS but you can do wonders with it.
I've been reading Cascading Style Sheets, the Definitive Guide, 2nd edition by Eric Meyer and it's helped me to better understand the hacks I've done in the past. I'm still a bit wet behind the ears but I figure another year of this and I'll be able to create any type of site that I want.
It sure helps to start out with apps that are XHTML compliant
Yeah, CSS is incredible much more powerful than the old method of just using HTML It's just a shame that IE sucks at it though.. Imagine how efficient you could write if it supported it a bit better, like the other major browsers do.
356 2005-07-15 20:03
Re: [Style release] Late Night + New style preview (12 replies, posted in PunBB 1.2 show off)
Well, things are progressing nicely now with the theme.. There's a lot of different tweaks to do here and there, but it's all fun
Added a few new functions to the theme as well (by an include in the template). It's nothing big, but I thought having a PHP font-size switcher available would be nice to have, seeing as I'm sure there are other people than me that never uses the zoom fuctions in their browser (I prefer to be able to set it on a per-site basis). I first tried doing that with javascript, but found out that it wasn't going to work very well. I ended up writing a couple of PHP scripts instead.
I'll be releasing that script + the modified templates with the style when it's done..
Here's a few screens:
Default size:
Larger:
Yep, you can hide it as well
As always, if you want to test, head over to: http://gallery.tasarinan.com
357 2005-07-15 19:17
Re: hcgtv, the forum (13 replies, posted in PunBB 1.2 show off)
Very nice
I really like how the entire site now looks the same.
358 2005-07-14 00:25
Re: Attachment Mod 2.0.1 by Frank H (500 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Since the master php.ini is defaulted at 2mb, is there any way to have a 2nd php.ini file to override it? My website is hosted and I don't have access to the php.ini and I'd like to have up to 6mb for attachment size.
Create a file named .htaccess in your forum root directory.
Add the following to it, save & upload:
php_value post_max_size 6M
php_value upload_max_filesize 6M
359 2005-07-13 19:54
Re: SMTP server form won't retain information (16 replies, posted in PunBB 1.2 troubleshooting)
If you mean the fix described here:
http://punbb.org/forums/viewtopic.php?id=8086
It doesn't work for me. The SMTP server still won't stick (and now I also got some PHP error msg that flashed by briefly when applying changes).
Could it be a cache problem?
360 2005-07-13 19:53
Re: [Style release] Late Night + New style preview (12 replies, posted in PunBB 1.2 show off)
Thanks for the comments
I've now updated the version in use on the test forum to include the new version. If anyone's interested, I could always share a "beta" version?
361 2005-07-13 19:23
Re: [Style release] Late Night + New style preview (12 replies, posted in PunBB 1.2 show off)
awesome.
only thing i don't like much is the menu bar, i dunno why but it looks a little odd maybe make the bluey bit taller so it goes above and below the menu items?
Happy that you like it!
Hmm, I'll try padding the navbar a little and see how it looks... I'll post a comparison screen so you'll be able to see what you prefer
Edit:
Ok, I padded it a little, and I think I prefer this version
here's a new screen:
What do you think's better?
362 2005-07-13 19:09
Re: [Style release] Late Night + New style preview (12 replies, posted in PunBB 1.2 show off)
Just had a slow day at work, so I started on a new PunBB style It's done for the most part, but I still have a few quirks to work out.
It's working well enough for me to use it as the default style at my test forum though, so it probably won't be long before I release it...
Here's a sample screen:
To see it in action, head over to my test forum:
http://gallery.tasarinan.com/index.php
Please share any feedback & suggestions you might have
363 2005-07-12 20:32
Re: [Style] Problem under the avatar ! (10 replies, posted in PunBB 1.2 discussion)
Hi,
I would like to erase this bloc of color, this pink pastel which is beneath
the avatar and put the pic beyond !
I've asked some help on punbb-fr but none can change all by modifyng
all the css code and put the image in the background my square the colorLink, for see my bug : http://forum.ouiedire.xooit.net/viewtopic.php?id=13
Thx for ur help
In your stylesheet, you need to check that the following classes have the same color:
DIV.postright, DIV.postfootright {BORDER-LEFT-COLOR: #F1F1F1 }
DIV.postleft, DIV.postfootleft, DIV.blockpost LABEL {BACKGROUND-COLOR: #F1F1F1}
They *MUST* be the same color for it to look correct with the default layouts.
364 2005-07-12 10:57
Re: [Style release] Late Night + New style preview (12 replies, posted in PunBB 1.2 show off)
I've now cleaned up the style (for the most part anyway), and fixed the remaining bugs that I was aware of. I hope that the ones downloading, will enjoy it
For more details & demo, read this post over @ my "test" forum.
To install, just unzip the file directly into your PunBB root folder.
[Download]
[Mirror at punres.org]
Edit: Just discovered a bug. I've fixed it and updated the archives.
365 2005-07-11 19:39
Re: [Style release] Late Night + New style preview (12 replies, posted in PunBB 1.2 show off)
Looking good
It's nice that it's starting to pop up som quality styles for PunBB and not only those spinkBB styles that kind of look the same.
Thanks
I kinda feel the same way about spinkBB. It's a really good and interesting project, but as you said, they all kinda looks the same. It's great for those that don't want/have the time to make styles themselves though.
366 2005-07-11 19:09
Topic: [Style release] Late Night + New style preview (12 replies, posted in PunBB 1.2 show off)
The style is now release. Scroll down to this post for details
---
Hi everyone!
Well, I'm close to getting another style ready for release (yes, this time I'll actually finish it), but I'd like some feedback on before I do. There's not much left on it, other than cleaning the CSS a little. I've been working on this over the weekend, and I'm rather satisfied with it now. There are a few images in the style, but the total size is less than 0.5kb (447 bytes)
It's best viewed in Opera, Firefox, Safari, or, in other words, pretty much any browser besides IE. The reason for this is that IE won't display the table cell hover effects, but other than that, it should display exactly the same.
Here's the link to my test forum: http://gallery.tasarinan.com
Guests are allowed to post in all forums, so don't be afraid to play around
If nobody encounter any major bugs, I'll try to have it available for download before the end of this week.
367 2005-07-11 17:04
Re: Forum Description (14 replies, posted in PunBB 1.2 bug reports)
I can duplicate the problem on 2 different 1.2.6 installations, one on Linux & another on Windows.
Until this is fixed, you can add the description back using the following in phpmyadmin (or any similar script):
UPDATE config SET conf_value = 'your forum description' WHERE conf_name = 'o_board_desc';
Remember to delete your cache afterwards.
368 2005-07-10 23:19
Re: XHTML Strict 1.0 and "target" (16 replies, posted in PunBB 1.2 discussion)
Thanks,
so this is a workaround to play the XHTML strict game, right?
Wow.... quite a lot of code to replace [i]target="_blank"[i].
I still think it is better to stay with transitional then.
I changed my board to target="_blank" and it works fine.... I think sometimes rules that are set up to simplify things just reach the opposite...like in this case.
Here's another, much simpler way of making this work This little mod will open local URL's in the same window, but external URL's will open in a new one.
Open include/parser.php.
Around line 278, find:
return '<a href="'.$full_url.'">'.$link.'</a>';
Replace with:
if (strpos($full_url, $_SERVER["SERVER_NAME"]) === FALSE)
return '<a href="'.$full_url.'" onclick="window.open(this.href); return false;">'.$link.'</a>';
else
return '<a href="'.$full_url.'">'.$link.'</a>';
What this does, is look for your server name in the URL. If it can't find it, it'll add the javascript needed to open a new window
369 2005-07-08 06:13
Re: Some PunBB users (2 replies, posted in PunBB 1.2 show off)
Here's another
net2ftp official forums:
http://www.net2ftp.org/forums/
370 2005-06-19 21:17
Re: Removal of "Moderated by name" (2 replies, posted in PunBB 1.2 troubleshooting)
Open index.php
Find:
<?php echo $forum_field."\n".$moderators ?>
replace with:
<?php echo $forum_field ?>
Save & upload.
That should take care of it
371 2005-06-18 19:29
Re: Opera Lies About Popularity Status (13 replies, posted in General discussion)
Funny how nobody even bother to mention all the FUD that the Firefox camp have been spreading for a very long time now. Taking credit for inventing features that Opera have had for ages.
Also, if anyone bothered to read those PC world awards, they was rather vague about who the actual winners of the different categories were...
372 2005-06-15 17:32
Re: Cache output of extern.php, a little help? (15 replies, posted in PunBB 1.2 discussion)
I'm really not sure what could be causing this. It could be that since you have so few posts and topics on your laptop that it really doesn't make much difference period, considering the size of the database is VERY small. The overhead is probably not hit yet.
Secondly, it could be due to the fact that it is running on Windows. This is just a thought, as I have no experience with MySQL on a Windows box. MySQL was generally written for UNIX, ported to Windows as somewhat of an afterthought. Perhaps it doesn't read the configuration correctly?
Other than that, I don't know what to tell ya
True, that could be the problem. I tried doing a relatively small query in phpmyadmin by selecting around 200 posts, and I encountered the same thing. Caching works fast in phpmyadmin, but doesn't make any difference in PunBB. Tried the same with about 1000 posts, and again, the same result.
I'll install Apache, php + MySQL on my linux "box" and see...
373 2005-06-15 10:11
Re: Sorting Topics Choice Not Functioning (12 replies, posted in PunBB 1.2 bug reports)
Ok, I made a little hack for you that gives you the option to sort with the oldest topic start date at the top, and the newest at the bottom:
Open admin_forums.php
Around line 284, find:
<option value="1"<?php if ($cur_forum['sort_by'] == '1') echo ' selected="selected"' ?>>Topic start</option>
After, add:
<option value="2"<?php if ($cur_forum['sort_by'] == '2') echo ' selected="selected"' ?>>Topic start, reverse</option>
Open viewforum.php
Around line 109, find:
// Fetch list of topics to display on this page
After, add:
if (($cur_forum['sort_by'] == '1') || ($cur_forum['sort_by'] == '0')) {
$newsort = 'DESC';
} else if ($cur_forum['sort_by'] == '2') {
$newsort = 'ASC';
}
Around line 117, find
// Without "the dot"
$sql = 'SELECT id, poster, subject, posted, last_post, last_post_id, last_poster, num_views, num_replies, closed, sticky, moved_to FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics'];
Replace with:
// Without "the dot"
$sql = 'SELECT id, poster, subject, posted, last_post, last_post_id, last_poster, num_views, num_replies, closed, sticky, moved_to FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' '.$newsort.' LIMIT '.$start_from.', '.$pun_user['disp_topics'];
Around line 126, find:
case 'mysqli':
$sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.forum_id='.$id.' GROUP BY t.id ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics'];
break;
case 'sqlite':
$sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.id IN(SELECT id FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics'].') GROUP BY t.id ORDER BY t.sticky DESC, t.last_post DESC';
break;
default:
$sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.forum_id='.$id.' GROUP BY t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, p.poster_id ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics'];
break;
Replace with:
case 'mysqli':
$sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.forum_id='.$id.' GROUP BY t.id ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' '.$newsort.' LIMIT '.$start_from.', '.$pun_user['disp_topics'];
break;
case 'sqlite':
$sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.id IN(SELECT id FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' '.$newsort.' LIMIT '.$start_from.', '.$pun_user['disp_topics'].') GROUP BY t.id ORDER BY t.sticky DESC, t.last_post DESC';
break;
default:
$sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.forum_id='.$id.' GROUP BY t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, p.poster_id ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' '.$newsort.' LIMIT '.$start_from.', '.$pun_user['disp_topics'];
break;
Save & upload
Now you can sort by topic start in reverse
374 2005-06-15 06:59
Re: Cache output of extern.php, a little help? (15 replies, posted in PunBB 1.2 discussion)
Actually, it does help quite a bit in a forum setting. If you look at the total number of views per topic in relation to how many posts/replies there are in said topic, you'll notice there is roughly a 1:12 (posts:views) ratio. So essentially just over 75% of the time (factoring in other... factors), the query cache is utilized. Plus, the cache will be utilized moreso in things that don't change so much, i.e. user info.
Does that help?
It sure does I think you misunderstood me a little though. I was just thinking of performance on the front page. Fetching active topics from all forums would most likely always return a new result set, so in that case, I wouldn't think you could improve performance by using query caches...?
Anyway, I upgraded my local MySQL installation to v4, but for some reason, even if I set the query cache size to 64M, it doesn't seem to go any faster with PunBB. PhpMyAdmin querys runs *much* faster though, so I know it's working, but the page generation times for PunBB seems to be the same. Any particular reason why I'm encountering this behaviour?
375 2005-06-14 22:39
Re: Sorting Topics Choice Not Functioning (12 replies, posted in PunBB 1.2 bug reports)
Yes, you're missing something
Organize forum by topic start = Sort by the date when topic was first started.
Organize forum by last post = Sort by the date of the last post in any given topic.