All manifest.xml are different for each extension so... no.
52 2009-04-18 20:42
Re: Too much empty lines in mails. (3 replies, posted in PunBB 1.2 troubleshooting)
If it's doing that, then just remove a line break on the template where that happens.
There's probably a fix to be applied to the code but for the moment that's the best thing to do.
53 2009-04-09 15:55
Re: Acer PC joins Nvidia's 'Ion' with Intel's Atom (5 replies, posted in General discussion)
Yeah, the processor sucks.
I'd rather buy a netbook.
54 2009-04-09 01:02
Re: Acer PC joins Nvidia's 'Ion' with Intel's Atom (5 replies, posted in General discussion)
What are the specs?
Edit:
The AspireRevo is debuting today alongside a plethora of other Acer wares, boasting a 1.6GHz Intel Atom 230 processor, up to 4GB of RAM, up to 250GB of HDD space, a 4-in-1 card reader, HDMI / VGA outputs, gigabit Ethernet, six USB 2.0 sockets, audio in / out, Windows Vista Home Premium / Basic and a svelte black and white enclosure that measures just 7.1- x 7.1- x 1.2-inches.
55 2009-03-24 22:58
Re: Is this your Flag? Please help test this (20 replies, posted in General discussion)
Correct.
56 2009-02-18 20:23
Re: style issue (1 replies, posted in PunBB 1.3 troubleshooting)
I don't think there's full rtl support, yet.
57 2009-02-16 10:54
Re: problem include extern.php (13 replies, posted in PunBB 1.3 troubleshooting)
Try using cURL:
<?php
$url = 'http://google.com/';
if (function_exists('curl_init')) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$content = curl_exec($ch);
curl_close($ch);
echo $content;
}
else echo 'No cURL library!';
?>
58 2009-02-12 21:19
Re: The making process of Xfire IM support extension (6 replies, posted in PunBB 1.3 extensions)
Cool.
59 2009-02-10 20:46
Re: The making process of Xfire IM support extension (6 replies, posted in PunBB 1.3 extensions)
A great place to start is http://fluxbb.org/wiki/v1.3:developing_extensions, then I'd recommend reading other extension's code to familiarize yourself with the extension system.
60 2009-02-08 01:26
Re: Request: Cannot post forums X days of joining (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Find this line (should be #114) in 'post.php':
// Flood protection
Before, add:
$days = 3;
if (!$forum_user['is_guest'] && !$forum_page['is_admmod'] && $forum_user['registered']>(time() - 60*60*24*$days))
message('You must wait '.$days.' day'.($days==1?'':'s').' before being able to post.');
Replace the value of '$days = 3' with the number of days you want new users to wait.
61 2009-02-07 22:21
Re: Deleted post in database caused problem (2 replies, posted in PunBB 1.2 troubleshooting)
This worked for me:
UPDATE pun_forums AS f SET num_posts=(SELECT SUM(num_replies) FROM pun_topics WHERE forum_id=f.id)+(SELECT count(id) FROM pun_topics WHERE forum_id=f.id)
Replace the 'pun_' prefix with your tables' prefix.
It'll work as long as the forums have 1 or more topics.
62 2009-02-07 01:33
Re: [REQUEST] A great looking portal (23 replies, posted in PunBB 1.3 extensions)
Nope, sorry.
I'm in school now, so I'm quite busy.
63 2009-02-05 19:26
Re: peculiars like "♥" don't work on 1.3.2? (4 replies, posted in PunBB 1.3 troubleshooting)
They work on my test board.
64 2009-02-03 19:39
Re: [Release] Online Today (22 replies, posted in PunBB 1.3 extensions)
You may use the same extension id to add your changes (same SVN folder), if you want. I don't mind.
65 2009-02-03 00:09
Re: Unable to install punBB extensions (2 replies, posted in PunBB 1.3 troubleshooting)
Create a new file on the same directory of your 'index.php' with the following code in it
<?php
if(chmod("./extensions", 0777))
echo 'Success';
?>
and name it 'chmod.php'.
Then, just access the file with your browser (i.e. www.example.com/forums/chmod.php).
If you get "Success", then you're good to go.
66 2009-02-02 22:16
Re: [Request] Online Today (22 replies, posted in PunBB 1.3 extensions)
There you go http://punbb.informer.com/forums/topic/ … ine-today/
67 2009-02-02 22:07
Topic: [Release] Online Today (22 replies, posted in PunBB 1.3 extensions)
Shows today's online users on the forum index.
Download Link: http://punbb.informer.com/unofficial/pu … _today.zip
If you find any bugs or have any tips, please post them here.
Updates
1.0.0: First release
68 2009-02-02 10:56
Re: [request] new avatar only applies to future posts (2 replies, posted in PunBB 1.3 extensions)
That'd be possible, but posts created before the extension wouldn't display the old avatars.
69 2009-02-02 10:52
Re: [Request] Online Today (22 replies, posted in PunBB 1.3 extensions)
You do realize that by just getting that info from the database you're not changing the $forum_user variable at all, don't you? There's only one guest user account and its last_visit is never updated, so there's no need to add a check for $forum_user['is_guest'].
Also, not everyone has $lang_index['Today online'], so they're gonna get "Undefined index".
The only thing wrong with my code would be the table prefix. And here it's fixed:
$todays_users = array();
$result = $forum_db->query("SELECT id,username FROM ".$db_prefix."users WHERE last_visit>'".strtotime(gmdate("M d Y"))."' ORDER BY last_visit DESC");
while(list($id, $username) = $forum_db->fetch_row($result)) $todays_users[] = '<a href="'.forum_link($forum_url['user'], $id).'">'.$username.'</a>';
if(!empty($todays_users))
echo '<h3 class="hn"><span>Online today: '.implode(', ', $todays_users).'</span></h3>';
70 2009-02-01 21:45
Re: Where downland this template (5 replies, posted in PunBB 1.3 additions)
Use the search form.
71 2009-02-01 21:14
Re: Where downland this template (5 replies, posted in PunBB 1.3 additions)
Sort of.
72 2009-02-01 15:11
Re: Where downland this template (5 replies, posted in PunBB 1.3 additions)
You can't.
73 2009-01-31 22:23
Re: [Request] Online Today (22 replies, posted in PunBB 1.3 extensions)
Well, I think the problem is that the last_visit value is updated only when you log in (not when you visit the site).
74 2009-01-31 21:05
Re: [Request] Online Today (22 replies, posted in PunBB 1.3 extensions)
Use this instead:
$todays_users = array();
$result = $forum_db->query("SELECT id,username FROM pun_users WHERE last_visit>'".strtotime(gmdate("M d Y"))."' ORDER BY last_visit DESC");
while(list($id, $username) = $forum_db->fetch_row($result)) $todays_users[] = '<a href="'.forum_link($forum_url['user'], $id).'">'.$username.'</a>';
if(!empty($todays_users))
echo '<h3 class="hn"><span>Today\'s users: '.implode(', ', $todays_users).'</span></h3>';
75 2009-01-31 20:32
Re: [Request] Online Today (22 replies, posted in PunBB 1.3 extensions)
Find
($hook = get_hook('in_new_online_data')) ? eval($hook) : null;
on 'index.php' and paste the code next to it.
$result = $forum_db->query("SELECT id,username FROM pun_users WHERE last_visit>'".strtotime(gmdate("M d Y"))."' ORDER BY last_visit DESC");
while(list($id, $username) = $forum_db->fetch_row($result)) $todays_users[] = '<a href="'.forum_link($forum_url['user'], $id).'">'.$username.'</a>';
echo '<h3 class="hn"><span>Today\'s users: '.implode(', ', $todays_users).'</span></h3>';