Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Drupal addon - vbList Details »»
vB Drupal addon - vbList
Version: 1.0, by El_Muerte El_Muerte is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-11-2005 Last Update: 12-19-2005 Installs: 11
Additional Files  
No support by the author.

Note: This is an addon module for vB Drupal: Community Plumbing

This module will allow you to list the latest X threads, including the first
post from specified forums within Drupal. It was intended as a "news" modules
that uses a forum as source. It is not meant for content management.

I wrote it to replace "node" as default front page module.

A somewhat live demo: http://el-muerte.student.utwente.nl/lba/

Entries will be display as usual nodes of type 'vblist'. Therefor modifying the durpal_node template will also have an effect on this. Note, even though it will the entries as nodes it doesn't mean all node functionality works. For example you might want to adjust your theme code to also construct "$submitted" field for this node, since this isn't configurable through the administer page.
The following fields will be set on a 'vblist' node:

type: always 'vblist'
created: UNIX timestamp of the thread creation
changed: UNIX timestamp of the last reply
title: the title of the thread
body: the body of the first post in the thread
uid: the UID of the poster
name: the name of the thread poster
sticky: true if it's a sticky thread
threadid: the ID of the thread
links: the array contains a link to the forum thread


Compatibility: This module currently only works with vBulletin 3.5 (only tested on 3.5.2)

Show Your Support

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

Comments
  #12  
Old 12-20-2005, 07:29 PM
dodgechargerfan dodgechargerfan is offline
 
Join Date: Aug 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! I can wait.
In the meantime, I'll just make sure that none of my news posts have smilies. Easy enough to do that!
Oh and I've figured out some of what I needed to change for the template. Thanks for pointing me in the right direction.
Reply With Quote
  #13  
Old 12-20-2005, 09:45 PM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, version 1.0 released and you could consider it final, unless bugs are found
Reply With Quote
  #14  
Old 12-22-2005, 11:22 PM
dodgechargerfan dodgechargerfan is offline
 
Join Date: Aug 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! Smilies work now. Thanks very much for the update.
Reply With Quote
  #15  
Old 01-30-2006, 12:44 PM
Cyburbia's Avatar
Cyburbia Cyburbia is offline
 
Join Date: Feb 2002
Location: Ithaca, New York USA
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it, but I don't see it in my list of blocks. I activated it in the list of modules, and then ... nothing.
Reply With Quote
  #16  
Old 02-01-2006, 05:09 PM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vblist isn't a block, it's a page module.
e.g. http://example.org/drupal/vblist
or http://example.org/drupal/?q=vblist
I use it has my frontpage module instead of the default node module
Reply With Quote
  #17  
Old 03-08-2006, 02:56 PM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by El_Muerte
vblist isn't a block, it's a page module.
e.g. http://example.org/drupal/vblist
or http://example.org/drupal/?q=vblist
I use it has my frontpage module instead of the default node module
Its not working for me...it says it can't find it...yes its in the right dir i'm on 3.5.4...any thoughts as to why? It lets me set it up....but it won't load the module
Reply With Quote
  #18  
Old 03-18-2006, 11:42 PM
hydn hydn is offline
 
Join Date: Oct 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

e.g. http://example.org/drupal/vblist
or http://example.org/drupal/?q=vblist

same here that dosn't work on my domain.

also im lost with configuring also :S
Reply With Quote
  #19  
Old 03-19-2006, 07:31 AM
El_Muerte's Avatar
El_Muerte El_Muerte is offline
 
Join Date: Nov 2001
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there's a minor bug in the configuration page prevent certain people to gain access to the settings page even tho they should have it. But that aside, if you can configure the module you should be able to visit the vblist module. You'll get a page not found error if there are no threads to display
Reply With Quote
  #20  
Old 04-18-2006, 05:09 PM
hydn hydn is offline
 
Join Date: Oct 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the current template layout of my new threads on the vbdupal index page:

Thread title

Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content Thread content

# comments

----------------------------------

Ok, I would like to...

1. make the 'Thread title' a hyperlink to the thread.
2. Cut off the 'Thread content' after 250 characters for long threads.
3. Add a 'Post Reply' or 'register to reply' link to the left of '# comments'. (this would be using the '<if ' code i think? so that it will show 'register to reply' for Guests only.

Can anyone help esp with 1. and 3.?

Thanks
Reply With Quote
  #21  
Old 04-19-2006, 10:35 PM
dodgechargerfan dodgechargerfan is offline
 
Join Date: Aug 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think that you go edit the template called drupal_node to add those things in. Not sure what the code would need to be, though. (I figure most of my stuff out by cutting it out from other parts of code and testing it. :cross-eyed: )
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 08:53 PM.


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.04641 seconds
  • Memory Usage 2,305KB
  • 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
  • (1)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
  • (1)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