Is there any way to do this in an easy way?
My post count doesn't add up since I've removed and added some posts during development of my site. Can I have all the users post counts recounted?
Anyway, I'll try making a mod for this in the meantime.
You are not logged in. Please login or register.
PunBB Forums → Posts by zapher
Is there any way to do this in an easy way?
My post count doesn't add up since I've removed and added some posts during development of my site. Can I have all the users post counts recounted?
Anyway, I'll try making a mod for this in the meantime.
Ah, it's time to upgrade I see.
If you have a member that's moderating a specific forum.
THen if you turn him into a user without removing his moderated forums, he's still listed at the main page.
Is this done by intention?
I'm running Version: 1.1.5
Never mind
I fixed it hours ago, just forgot to mention it here
I had to remove subscriptions and config in the database and then proceed. Works like a charm now
Alright, so it has nothing to do with the version of the markup language?
Weird, it keeps telling me that alot of tables can't be created, because they already exist.
Alright. But I'm not sure I've updated the database for 1.0.1.
Can I see that in some way?
And is it enough to just run the update-file from 1.0.1 to 1.1 and then use the update-file that comes with the 1.1.4 ?
Say what?
I thought that was only for the markup-part. So.. It's updating the database?
How can I be sure that it won't screw things up for me?
Edit: It looks like my version is PunBB 1.0.1 (yes, I'm not that up to date ).
So the update won't work correct?
I just updated the forum and config:ed and everything. But all I get is:
An error was encountered
Error: Unable to update user visit data.
Almost sounds to me as it can't update stats for the users or something?
Well, please help me with this ASAP, it's quite urgent.
Thanx!
When I prune and choose Not include stickies..
No, I use 1.0.1 since not all PunBB-mods I use have been converted..
But I still don't have a clue what Build Index is..
I saw one thing now.. It deletes some topics each time.
So I ran it 4 times and now all the ones I wanted gone are..
Fatal error: Cannot redeclare split_words() (previously declared in /home/hlcae/public_html/forum/include/searchidx.php:39) in /home/hlcae/public_html/forum/include/searchidx.php on line 39
Tried to prune but I got an error about split-something and something in searchidx.. So if I rebuild the index, what happends? I mean, what does it do?
I just changed the php-file to look for version 1.0.1 instead of 1.0 so it would create the mysql-tables.. Then it's just rock and roll!
It's really weird. Can't remember why it would have changed that line, must have been an old mod ?
Anyways. I took a brand new from the 1.0.1 zip and made the modification(locked forum etc) that I wanted and now it works!
At least I think it does. Bbl if it's cranky.
Thx for the help!
Tried...
File: /home/hlcae/public_html/forum/viewforum.php
Line: 149
PunBB reported: Unable to fetch topic list for forum
Database reported: Unknown column 't.first_post_id' in 'on clause' (Errno: 1054)
$result = $db->query('SELECT DISTINCT p.poster_id AS hasposted, m.message, t.id, t.poster, t.subject, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p'.$useindex.' ON t.id=p.topic_id AND p.poster_id='.$cur_user['id'].' INNER JOIN '.$db->prefix.'posts AS m ON t.first_post_id = m.id WHERE t.id IN('.$threadids.') ORDER BY sticky DESC, last_post DESC' ) or error( 'Unable to fetch topic list for forum', __FILE__, __LINE__, $db->error() );
Is the code I found from the error.
t.replies Should I just change to t.num_replies?
I have version 1.0.1 and the only mod I've performed and that has a connection to viewforum.php is EFAM.
So I compared the file with the EFAM-notes and everything checks out.
So, I don't really know what has happened.
Could you isolate the code that has to do with num_replies maybe? So I can check the .php ?
Hmm, perhaps I am?
The file is 10 473 b big.
CREATE TABLE `topics` (
`id` int(10) unsigned NOT NULL auto_increment,
`poster` varchar(25) NOT NULL default '',
`subject` varchar(70) NOT NULL default '',
`posted` int(10) unsigned NOT NULL default '0',
`last_post` int(10) unsigned NOT NULL default '0',
`last_post_id` int(10) unsigned NOT NULL default '0',
`last_poster` varchar(25) default NULL,
`subscribers` text,
`num_views` mediumint(8) unsigned NOT NULL default '0',
`num_replies` mediumint(8) unsigned NOT NULL default '0',
`closed` tinyint(1) NOT NULL default '0',
`sticky` tinyint(1) NOT NULL default '0',
`moved_to` int(10) unsigned default NULL,
`forum_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `topics_forum_id_idx` (`forum_id`)
) TYPE=MyISAM AUTO_INCREMENT=69 ;
File: /home/hlcae/public_html/forum/viewforum.php
Line: 149
PunBB reported: Unable to fetch topic list for forum
Database reported: Unknown column 't.replies' in 'field list' (Errno: 1054)
OH! Forgot that.. Hold on then
My server just got hacked, so I uploaded everything again since it was only index* files whom were deleted.
I can watch the forum and it's categories, even the topics.
But when I click on one it stops
What can they have done? Can somebody list all the forum-related tables in your database so I can see if something has vanished..
PunBB Forums → Posts by zapher
Powered by PunBB, supported by Informer Technologies, Inc.