Welcome, Guest. Please Login or Register.
April 18, 2024, 11:47:40 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.x] News Archive « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: [Done 1.5.x] News Archive  (Read 6990 times)
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.x] News Archive
« Reply #15 on: November 06, 2003, 11:46:26 PM »
Reply with quote

Quote from: Valconeye on November 01, 2003, 12:26:26 AM
any luck with a limit? it would be really nice to limit by month, like just show 2 months, or 3 or 4 etc...
you can edit NewsArchive.php,
search for      ORDER BY m.posterTime DESC;") or database_error(__FILE__, __LINE__);replace with      ORDER BY m.posterTime DESC
      LIMIT 0,30") or database_error(__FILE__, __LINE__);
where 0 is the start of the record, and 30 is the limit
so in the next page you can put: LIMIT 30,30 and next: LIMIT 60,30


Quote from: crash5456 on November 06, 2003, 05:07:15 AM
I applied this mod yesterday and my news fader disappeared on me.

Can anyone tell me what might have happened and how to fix it.

Thx in Advance
This mod does NOT change anything in Settings.php nor settings table in the database.
Just check in Admin Center -> Forum Preferences to enable your news fader
or maybe you overwrote or deleted a file accidentally? like fader.js


@crash5456: if you never used the News.php, i dont think you'll need this feature. Basically how to use this mod is the same way as you use News.php, just the action name is different. Please read NewsPHP_ReadMe.txt in your yabb folder
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
crash5456
Guest
Re:[Done 1.5.x] News Archive
« Reply #16 on: November 06, 2003, 11:54:27 PM »
Reply with quote

I got the news back, Now I need one more little thing :)

The link to the news archive, I posted just after the news problem, which I screwed up myself, LOL

Appreciate any help possible

Thx
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.x] News Archive
« Reply #17 on: November 07, 2003, 05:55:48 PM »
Reply with quote

cant really help without looking at it...
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
crash5456
Guest
Re:[Done 1.5.x] News Archive
« Reply #18 on: November 07, 2003, 07:11:33 PM »
Reply with quote

Quote from: crash5456 on November 06, 2003, 09:54:46 PM
I need some help here, I applied this mod, and read these instructions:

This mod lists all the topic titles in a board, sorted by posted time
(descending) and grouped by month and year.

To include it, basically you need to do the same thing as
including news, just change the action with action=newsarchive:

http://www.site.com/forum/index.php?action=newsarchive;board=x

You can also use template= like in News.php to use a different
template file. The only thing that's not available is limit

I do not understand how or where I'm to make those changes I am definately new at this, applying with Board Mod I can do but when it comes to actual code changes I'm trying to understand

In your instructions you said " set the links up like you do for news, I have no idea on how to do that :)
I'm just learning this stuff. and would like to learn a lot more, and everywhere I look on here you are the one to talk to or [unknown] lol
Logged
pege
Full Member
***
Posts: 146


Re:[Done 1.5.x] News Archive
« Reply #19 on: November 07, 2003, 09:01:59 PM »
Reply with quote

Quote...In your instructions you said " set the links up like you do for news, I have no idea on how to do that...

Just read the "NewsPHP_ReadMe.txt" file in your Yabb directory (the one with "index.php").  It explains how to use the news links.
Logged
crash5456
Guest
Re:[Done 1.5.x] News Archive
« Reply #20 on: November 07, 2003, 09:53:24 PM »
Reply with quote

Thanx for the update :)
Sometimes things are right in front of you, ya just dont see it  lol

I have followed the instructions to the best of my ability, which apparenty isn't very good at the moment.

Where do I put the inclusion in the boardindex.php file?

Any help would be appreciated
« Last Edit: November 09, 2003, 03:01:56 AM by crash5456 » Logged
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.x] News Archive « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.084 seconds with 20 queries.