Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBaCMPS Latest Geek Articles Details »»
vBaCMPS Latest Geek Articles
Version: 1.2, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-04-2005 Last Update: 02-01-2005 Installs: 39
 
No support by the author.

Hack: vBadvanced CMPS Latest Geek Articles
Version: 1.0
Author: Me

Instructions:
upload modules/latestgeekarticles.php into modules folder
upload admincp/latestgeekarticles_install.php into admincp folder
run above file
Follow the slight file modifications in the README.

File modifications: 1
Template modifications: 0
Installer: Yup. A very cool one.
Phrased: Yup

In a nutshell, this module is based upon the vBa Latest Topics module, but is instead set up to pull the 'Latest articles' from a specified forum. This is really designed for those using The Geek Article System.

Check out the Readme that comes in the package.

Change Log
version 1.3 uploaded 02/02/05
Minor update to module in order to work with new vBaCMPS release

version 1.2 uploaded 07/01/05
Fixed 'Excluded Forums' bug that appeared to have been bitten by Zombie.
It came back to haunt one user so I had to take drastic action and update it.
It now WORKS with your 'excluded forums' setting. That is to say, you can exclude your acticle forums from 'Latest topics' but they will still happily appear in Latest Articles.
Please note that this means there is now a file edit. Please read the README.

version 1.1 uploaded 07/01/05
Fixed bug where when users had vba excluded forums set, it caused a query error. To fix, download latest package and upload latest modules/latestgeektopics.php overwriting your old one.


note:if you dig this module, you may be interested in the Featured/Random Articles one too.

PS: Your template will be a tad different from my screen shot as this is for my style.

nJoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 02-20-2005, 02:39 PM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems there are some bugs in this thingy too. The post date is shown as well as the last date for the comment made. There seems to be no option to remove this except edit the template.

Also, the option to show views/comments is not conditioned in the modul so it is displayed by default. Could be a good idea to remove this (I hardly have any comments on my articles, people just read and go post something intelligent elsewhere in the forums). I just commented that bit out in the module.

I think I have installed almost everything by you now. So now I can take one of those vBa Links Directory popup things, thank you. That would be a killer.
Reply With Quote
  #53  
Old 02-26-2005, 06:39 AM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nathanaus
Take adv_portal_ off the front of you templates being used list and re-save.

So instead of:
adv_portal_latestgeekarticles
adv_portal_latestgeekarticlebits

You would have:
latestgeekarticles
latestgeekarticlebits
This bit of info needs added to the install file...
Reply With Quote
  #54  
Old 02-26-2005, 07:51 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by venomx
This bit of info needs added to the install file...
its not in there as it isnt correct as far as I know the vbacmps templates need the adv_portal_ prefix
Reply With Quote
  #55  
Old 03-17-2005, 10:20 AM
mekro mekro is offline
 
Join Date: Jun 2002
Location: England
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Just wondering if this is possible with your hack and that is, i use your article system to run a card of the day system.

I would like to have the latest new card of the day thread (not new replies) including the attachment of the card which is uploaded with it shown on my vbadvanced homepage.

Is this possible.

Thanks
Kirk
Reply With Quote
  #56  
Old 03-17-2005, 10:42 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mekro
Hi

Just wondering if this is possible with your hack and that is, i use your article system to run a card of the day system.

I would like to have the latest new card of the day thread (not new replies) including the attachment of the card which is uploaded with it shown on my vbadvanced homepage.

Is this possible.

Thanks
Kirk
If I understand you correctly - you are wanting to show the latest attachment thumbnail from specific forums?

Sounds like a cool idea - but no this wouldnt work for you. Sorry
Reply With Quote
  #57  
Old 03-20-2005, 04:08 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
When creating new module templates, they need to be written like this:

adv_portal_TEMPLATE NAME

However, when you are adding the module to the pages, it is not entered with the prefix. All you enter for the template name on the "add module" page is the template name. So where it asks for template name, you only enter: TEMPLATE NAME

If you add the prefix in the add module section, it will not work!
Reply With Quote
  #58  
Old 03-21-2005, 11:49 AM
intrigue intrigue is offline
 
Join Date: Nov 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any reason why it shows the last 3 posts rather then articles?
.matt
Reply With Quote
  #59  
Old 03-21-2005, 10:17 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure what you mean matt - are you sure you have the correct forumids in?
Reply With Quote
  #60  
Old 04-11-2005, 10:32 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
if ($shownewpm)
{
eval('$pmscript = "' . fetch_template('pm_popup_script') . '";');
$footer .= str_replace('"private.php', '"' . $vboptions['bburl'] . '/private.php', $pmscript);
}
This part cannot be completed in cmps 1.0.1 because in vba_cmps_include_bottom.php you cannot find this. Is it possible to get this working in any other way ?
Reply With Quote
  #61  
Old 04-19-2005, 05:18 AM
joerns joerns is offline
 
Join Date: Feb 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

thanks for this excellent hack. I installed it following the instructions, and the hack does display the latest articles on the portal page. But every so often, I get the following error:

Database error in vBulletin 3.0.6:

Invalid SQL:
SELECT
thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid

,thread.forumid, forum.title AS forumtitle
, post.pagetext AS preview

FROM thread as thread

LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')

WHERE open <> '10' AND thread.visible = 1 Array AND deletionlog.primaryid IS NULL
ORDER BY thread.dateline DESC
LIMIT 4

mysql error: You have an error in your SQL syntax near 'Array AND deletionlog.primaryid IS NULL
ORDER BY thread.dateline DESC
LI' at line 14

mysql error number: 1064

What could the problem be?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:53 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04636 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete