vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbArticles v0.4 -- For your repository of Articles/Tutorials/FAQs etc. (https://vborg.vbsupport.ru/showthread.php?t=54331)

TheComputerGuy 06-14-2003 06:54 PM

Do ya think their would be anyway to take like the 5 newest ones and put those on a like the front page of vB Home?

But thank you so much for this hack, this rocks!!!

Kars10 06-14-2003 07:06 PM

Exactly what ive been looking for, for a very very long time!!!! :)
Thanks so much buddy.

Kars

[high]* Kars10 licks the install button for 10 min. ;)[/high]

gmarik 06-14-2003 08:19 PM

Quote:

Yesterday at 11:54 PM TheComputerGuy said this in Post #12
Do ya think their would be anyway to take like the 5 newest ones and put those on a like the front page of vB Home?

But thank you so much for this hack, this rocks!!!

Where have you been lost? You said you'll skin it...
But a great idea ... :p

TheComputerGuy 06-14-2003 08:26 PM

<a href="http://www.runaked.com/forums/articles.php" target="_blank">www.runaked.com/forums/articles.php</a>

Beta Testing right now...Tried to edit the articles I get this

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/runaked/public_html/forums/admin/vbArticlesadmin.php on line 182

Also someone should point out that if you have the Links hack installed that you do not have to mod the adminfunctions file.

gmaik...Sorry had some personal stuff come up, should be finished soon!

iggy123 06-14-2003 08:34 PM

Quote:

Today at 10:26 PM TheComputerGuy said this in Post #15
www.runaked.com/forums/articles.php

Beta Testing right now...Tried to edit the articles I get this

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/runaked/public_html/forums/admin/vbArticlesadmin.php on line 182


Me too

Kars10 06-14-2003 08:40 PM

Works like a charm here. :)
But one thing, can you make it that people can post there articles there (like in the linkscrpt)? Would make more sense i think.
I have not the time to add every article by myself.

Thanks in advance
Kars

TheComputerGuy 06-14-2003 09:08 PM

I think you could make this work in the supermod or mod folder and just add a link yes?

DrkFusion 06-14-2003 10:47 PM

Quote:

Today at 03:54 PM TheComputerGuy said this in Post #12
Do ya think their would be anyway to take like the 5 newest ones and put those on a like the front page of vB Home?

But thank you so much for this hack, this rocks!!!

Very easy. 2 Ways you can do this

1. Use an include, and include the top5new full url using something like
Code:

include("http://domain.com/links.php?action=whatever4top5new");

2. Check how it is taken in the top5new action and copy the code put it into a new file, and make sure you can access global.php and functions.php and include it to your site, but I am guessing if you want to put it into your site you will have to do code modifications because i am sure you do not want the Links Directory Layout showing up on your front page :) If you do want the links dir page then use the 1st way.

kaotic 06-14-2003 10:54 PM

Public Submissions/Validation Process would make this hack even perfecter! :p

DrkFusion 06-15-2003 12:44 AM

Quote:

Today at 07:49 PM cinq said this in Post #20
In the article content i presume ? If so , yes.




Put the 5 latest articles on the articles home page shouldnt be a problem , will be included in the next version.
But as for putting it on the front page in vbHome , this i aint too sure as I havent tried vBhome yet.
Give me some time on this , but no promises , am new to this too ! :D


Thanks , your site is looking good , will add it to my post as a demo site :)
As for the error you got , I cannot seem to replicate it but it seems iggy123 is facing the same problem , will try my best to look into it.
Could you try deletion of an article ?

It will work, Arunan release a modification for vBhome at teckwizards.com that showed the linksdir categories, all you have to do is change the query around.


All times are GMT. The time now is 10:39 AM.

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.01228 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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