vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Articles 1.0.1 - [vB 3.0.1] (https://vborg.vbsupport.ru/showthread.php?t=65934)

spence2 08-27-2004 10:09 AM

Sweetness!

cclaerhout 08-27-2004 11:52 AM

I'm happy, even if it means i'll have to translate it again in french ;-)

www.tfw2005.com 08-27-2004 03:56 PM

Quote:

Originally Posted by Action-N
Can I have the Articles sort alphabeticaly instead of as summitted. Looking through the code, but wanted to get a post started here.

Thanks for this hack, I know I as well as others really needed it.

In case anyone else is searching this thread for this, I found it.

In your includes/functions_articles.php file


Find this:

Code:

$articles = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "article
                                                                WHERE categoryid=$cid $moderationSQL ORDER BY dateline DESC LIMIT $start, $finish");

Replace with this:

Code:

$articles = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "article
                                                                WHERE categoryid=$cid $moderationSQL ORDER BY title ASC LIMIT $start, $finish");


ASC is forwards, DESC is backwards. Datline is by post date, title is by alphabetically. I suppose you can also sort by other variables by replacing the word "title" in there, but thats up to you to figure out.

Later!

Mickie D 08-27-2004 07:54 PM

cant wait for the new update :)

well done all involved

Fargo 08-28-2004 10:04 AM

John, is there any possibility to give us a spoiler of what to expect with the new version (that is, if you don't forsee releasing it in the next day or so).

Not sure if you were including new features or just making bug fixes...

I would REALLY like to see an article description field included if possible. This would be shown under the title in the articles list, and would allow users to get a better idea of what the article is about before navigating to it. :)

trackpads 08-28-2004 12:33 PM

Quote:

Originally Posted by ria.enigma
John, is there any possibility to give us a spoiler of what to expect with the new version (that is, if you don't forsee releasing it in the next day or so).

Not sure if you were including new features or just making bug fixes...

I would REALLY like to see an article description field included if possible. This would be shown under the title in the articles list, and would allow users to get a better idea of what the article is about before navigating to it. :)

John,

Please dont forget about the counting articles in sub-sub-forums!

thanks for all your work!

-Jason

Host Directory 08-30-2004 12:26 AM

I guess i will wait for the update before installing this hack.

Does anyone know what the deal is with uninstalling the hack ( if ever i wanted to )?

I notice it keeps with an install script... so does it also come with an unistall script or is this not needed?

Ted S 08-30-2004 01:10 AM

The install script has a remove feature which works out very nicely.

Host Directory 08-30-2004 01:12 AM

Cool.. i will be waiting for the update since its almost ready and then i will install this one.

zetetic 08-30-2004 01:54 AM

Tiny Bug:

On Article index page, username under "Last comment by" doesn't link to user profile as it should.

Solution:

Edit template: article_lastcommentby

Find:

HTML Code:

<phrase 1="member.php?$session[sessionurl]username=$article[lastposter]" 2="$category[lastposter]">$vbphrase[by_x]</phrase>
Replace with:

HTML Code:

<phrase 1="member.php?$session[sessionurl]username=$category[lastposter]" 2="$category[lastposter]">$vbphrase[by_x]</phrase>


All times are GMT. The time now is 04:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01469 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete