- Bugs 4 13 Davion
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
I can post so you can test it. >.> But Nope, I didn't see this.
Posted Jun 23, 2009, 2:08 pm
Posted Jun 23, 2009, 2:08 pm
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
I grabbed completely up to date files from the SVN repository, and then added the fix and it worked that time. But I feel the need to point out that the copy of 1.4.4 in the file repository doesn't have up to date files in it. Because while adding the nofollow fix, I found that I didn't have the URL stuff mentioned in the diff. Which is why I checked the Svn repository in the first place. 
Posted Jun 21, 2009, 12:17 pm
Posted Jun 21, 2009, 12:17 pm
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
Conner said:
Well, you don't want the 171 - or the 173 - in there...
Well, you don't want the 171 - or the 173 - in there...
Well, duh. That was marking the line #s from the fix Davion posted.
Samson said:
The marked section of code works on MudBytes. I haven't tried getting it installed anywhere else yet though but I don't see why it would fail unless something else got done to the code beforehand that lets it work.
The marked section of code works on MudBytes. I haven't tried getting it installed anywhere else yet though but I don't see why it would fail unless something else got done to the code beforehand that lets it work.
Putting the code in as is, broke reading posts for me. So there has to be something else that was missed. I'm gonna go through and double check that I have all the bugfixes applied and try again though.
Posted Jun 21, 2009, 11:36 am
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
So, I made all the changes you said, and then wasn't able to view any posts. They just come up as a white screen.
Original -
Changed one -
Is it missing anything? Or did you forget a section? Or did I just screw it up?
Posted Jun 20, 2009, 3:24 pm
Original -
if ($this->get['unread']) {
// Jump to the first unread post (or the last post)
$timeread = $this->readmarker->topic_last_read($topic['topic_forum']);
$posts = $this->db->fetch("SELECT COUNT(post_id) posts FROM %pposts WHERE post_topic=%d AND post_time < %d",
$this->get['t'], $timeread);
if ($posts) $postCount = $posts['posts'] + 1;
else $postCount = 0;
$this->get['min'] = 0; // Start at the first page regardless
while ($postCount > ($this->get['min'] + $this->get['num'])) {
$this->get['min'] += $this->get['num'];
}
}
Changed one -
if ($this->get['unread']) {
// Jump to the first unread post (or the last post)
171 - $timeread = $this->readmarker->topic_last_read($this->get['t']);
$posts = $this->db->fetch("SELECT COUNT(post_id) posts FROM %pposts WHERE post_topic=%d AND post_time < %d",
$this->get['t'], $timeread);
173 - if ($posts) $postCount = $posts['posts'] + 1;
else $postCount = 0;
$this->get['min'] = 0; // Start at the first page regardless
while ($postCount >= ($this->get['min'] + $this->get['num'])) {
$this->get['min'] += $this->get['num'];
}
}
Is it missing anything? Or did you forget a section? Or did I just screw it up?
Posted Jun 20, 2009, 3:24 pm
- User Lounge 1 2 Write4theSoul
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
Yeah, this'll do everything you want, except for the Articles stuff, right out of the box. For the Articles, you'd have to convince Samson or Davion to get the module for Articles on the QSFP Development site in a releasable state for the general public, and then you'd just drop that in as a module and the package would do everything you want. Once you have a grasp on PHP/HTML/JavaScript you can pretty much bend QSFP to your will and make it do whatever you want. And skinning it is pretty simple as well.
The only flaw is that the public seems to have almost forgotten it even exists, and so support and responses on the site can be a little slow at times. But, such is life on the internet. =/
Posted Feb 24, 2009, 11:32 pm
The only flaw is that the public seems to have almost forgotten it even exists, and so support and responses on the site can be a little slow at times. But, such is life on the internet. =/
Posted Feb 24, 2009, 11:32 pm
- Support 1 7 Banner
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
The size is in the css. Look for
Then just change the font: ##px to whatever you want it to be.
And the banners just get added to the MAIN_AFFILIATES section of the board_index template.
Posted Apr 19, 2008, 1:50 pm
#blocks .title {
background: #660000;
font: 18px Arial, Sans-serif;
color: #c0c0c0;
margin: 0px -7px 4px -2px;
padding: 3px 4px 2px 7px;
border: 1px solid #3e3e3e;
border-left: 3px double #3e3e3e;
}
Then just change the font: ##px to whatever you want it to be.
And the banners just get added to the MAIN_AFFILIATES section of the board_index template.
Posted Apr 19, 2008, 1:50 pm
- Support 1 4 kup0nut
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
You'll have to go into the HTML Templates, and in the Board Index set, scroll down to the MAIN_PORTAL template, and look in it for something like <MODLET news(2)>, just change the 2 to the Forum ID for your news forum.
Posted Mar 19, 2008, 5:17 pm
Posted Mar 19, 2008, 5:17 pm
- Support 3 11 Kayle
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
It only uses regex for the expanded color codes. IE: &[helps]
Posted Mar 17, 2008, 11:12 pm
Posted Mar 17, 2008, 11:12 pm
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
Indeed. It probably wouldn't be all that hard to make the posts use it. Just filter posts through the format_afk_colors() function. But then you'll have to double up ampersands like in the mud.
Posted Mar 17, 2008, 12:15 pm
Posted Mar 17, 2008, 12:15 pm
Member

GroupMembers
Posts 40
Joined Dec 5, 2006
It all goes in the helps file, I've renamed mine, so I don't recall what it's actually called, but I believe it's afk_helps.php. It allows for both types of color codes, and as of now, only works in the helps stuff, not the rest of the posts.
The code natively supports all the other color codes, but I needed to expand it to do the new color codes as well.
Posted Mar 16, 2008, 10:31 am
The code natively supports all the other color codes, but I needed to expand it to do the new color codes as well.
Posted Mar 16, 2008, 10:31 am


