If anyone else is interested in PunBB 1.3 look and feel:
You rock man, thanks for the admin panel preview!
You are not logged in. Please login or register.
PunBB Forums → Posts by Strofanto
If anyone else is interested in PunBB 1.3 look and feel:
You rock man, thanks for the admin panel preview!
Line 249
$user_info[] = '<dd>IP: <a href="moderate.php?get_host='.$cur_post['id'].'">'.$cur_post['poster_ip'].'</a>';
Change to
$user_info[] = '<dd><a href="moderate.php?get_host='.$cur_post['id'].'"><img src="your_image.gif"' width="" height="" alt="'.$cur_post['poster_ip'].'" /></a>';
Edit src, width and height according to your image.
I'd personally switch RSS colum and forum's position, but looks fine as it is as well.
Looks very nice but personally I'd like even less profile info, I couldn't care less if someone has jabber, msn, skype and what not, if I want such informations I'll email them, if the email form is disable tough luck, but again it's just me. I guess you're adding fields to the users table for that, are you?
INSERT INTO `users` (`id`, `group_id`, `username`, `password`, `email`, `title`, `realname`, `url`, `jabber`, `icq`, `msn`, `aim`, `yahoo`, `location`, `use_avatar`, `signature`, `disp_topics`, `disp_posts`, `email_setting`, `save_pass`, `notify_with_post`, `show_smilies`, `show_img`, `show_img_sig`, `show_avatars`, `show_sig`, `timezone`, `language`, `style`, `num_posts`, `last_post`, `registered`, `registration_ip`, `last_visit`, `admin_note`, `activate_string`, `activate_key`) VALUES (1, 3, 'Guest', 'Guest', 'Guest', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, 1, 0, 1, 1, 1, 1, 1, 0, 'English', 'Oxygen', 0, NULL, 0, '0.0.0.0', 0, NULL, NULL, NULL);
If Dzuma is talking of Antibot then Smartys is correct, I tested myself on a board.
Welcome.
in your css
#brdmenu {text-align: center;}
Check the forum footer. There are links on the left for those functions.
There are two ways.
1) Manually make the changes following the hdiff
2) Download the latest PunBB from the website and replace all the files of your forum. Just keep the config.php file and you'll be done. Also you need to run the upgrade script (12_to_1214_update.php) in the extras folder once.
If you're not used to manual changes go for the second, it's easier if you don't have any mods installed.
allow_url_fopen is actually not crucial to update, if you keep an eye on the punbb.org homepage or subscribe the newsletter you won't miss any update.
Anyway if you want to enable it check your PHP configuration, if you have a frontend host you'd talk to its admin.
Welcome.
i just like having it in the post. so people with dial up dont have to load a differant page to see the gender.
Yeah but you can retrieve user data from the database and show it in the topic.
E.g. line 186 in the viewtopic.php file
$result = $db->query('SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'users AS u ON u.id=p.poster_id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id LEFT JOIN '.$db->prefix.'online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id='.$id.' ORDER BY p.id LIMIT '.$start_from.','.$pun_user['disp_posts'], true) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
Now if you have a field in the users table for the gender you can add u.gender from the selection and show it in the page.
echo $pun_user['am_gender'] and see what value you get. Btw, out of curiosity, why you want to include the gender in the post when you have it in the profile?
Probably the issue is that the posts table doesn't have a am_poster_gender field, or it does?
So you're trying to add the user's gender in every post?
Very nice integration and theme. Thumbs up.
Now that you edited the query it should work with $cur_post['am_poster_gender'] as long as you're in the while($cur_post = $db->fetch_assoc($result)) statement.
Smartys is asking if you selected am_poster_gender from the database table. You should post the sql query.
Add this in your *_cs.css file
#brdtitle {background: url(path/to/file.gif) center no-repeat; height: 90px;}
#brdtitle H1, #brdtitle p {display: none;}
Remember to change the url of your logo.
Do you get any error?
I think so, particularly it could be the database.
What would the code be?
Welcome man
I'm pretty sure it's not related with PunBB, this guy must have exploited some bug and he seems to be interested mostly in governative and military websites.
http://old.zone-h.org/en/defacements/sp … n1c_S0uls/
PunBB Forums → Posts by Strofanto
Powered by PunBB, supported by Informer Technologies, Inc.