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

Reply
 
Thread Tools
DnP AJAX Custom News Link - Offer the best news to your forum visitors Details »»
DnP AJAX Custom News Link - Offer the best news to your forum visitors
Version: 1.3, by silveryhat silveryhat is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 10-05-2009 Last Update: 12-24-2009 Installs: 90
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

What was the last time you were so excited to write an awesome topic for your forum then hopelessly watched it faded away and nobody cares? How about having some great threads, unique information that's only available on your forum, and you want all visitors instantly pay attention to them ? Think you would make announcements everywhere about those topics, then expect someone to click on the links? Maybe that isn't so good and professional at all. Even worse, you have to bump your own thread to get others attention. DnP Custom News may have a solution for you.

What does this little MOD do ?


As the matter of fact, topics in forum are displayed by some formatted orders. Either it is arranged by newest first, oldest first, or last replies, etc...at some point these topics will not be visible in the view of members anymore. Especially, for new visitors to your forum since they have no clue whether yours is a good forum or just a random half-dead community with nothing interesting. How could you show them how great your forum is, what information it has and what kind of fun can be found there? What you need is a manual list that looks automatic, absolutely informative and interactive, totally content-rich to the guests and even search engines. DnP Custom News Link allows you to place your best topics and urls into an article block that appears on your forum home index and makes it looks like a section of online newspaper homepage. This way, it is almost guaranteed you will freshen up your forum look and feel, attract more members to articles or threads that give best of your forum! Even better, DnP Custom News Link supports AJAX for instant page change without refreshing the whole forum index page.

Screenshots of different configurations




Demo

Right on the forum homepage of DnP Network?

Feature Summary
+ Multipaging support.
+ Lightweight AJAX / SEO Friendly pages and links.
+ Three types of news : Image, Video, Article.
+ Option to track views.
+ Consume single query for fastest load.
+ Topic Thumbnail.
+ Topic Description. BBcode supported.
+ All settings and News manager under AdminCP.
+ Links are SEO.
+ Different style is not yet implemented in this version.
+ Able to act as a vB Advanced CMPS Module
Installation for normal forum without vB Advanced CMPS :
  1. Upload all files and folders from the package to your forum_root folder, except product-dnp-custom-news-install.xml.
  2. Use Product Manager to install product-dnp-custom-news-install.xml
  3. Open your FORUMHOME template (or any templates that are used together for forum home index) , then place
PHP Code:
$dnp_news_output 
to anywhere you would want DnP Custom News block to appear.



Installation for vB Advanced CMPS :


Example of how DnP News block blends in along with other columns on a vBA CMPS page
  1. Upload all files and folders from the package to your forum_root , then upload dnp_news.php one more time into forum_root/modules folder, except product-dnp-custom-news-install.xml.
  2. Use Product Manager to install product-dnp-custom-news-install.xml
  3. Go to Style Manager ? Add New Template of your currently in-use style. Input

    Title : dnp_vba_news_output
    Template content : $dnp_news_output

  4. Go to vBa CMPS ? Add Module ? PHP File Module. Input the following information :

    Module Title
    : DnP vBa CMPS Custom News Link
    Active : Yes
    File to Include : dnp_news.php
    Module Parent : None
    Templates Used : dnp_vba_news_output
    Use Module Wrapper Template : No
    Leave everything else by default.
  5. Save and load module to your CMPS page. Go to Plugin Manager and disable DnP Custom News : global_start
Management :
Now you can go to AdminCP to post some news link or configure the Dnp Custom News block



Enjoy and have fun, if you like this little MOD give it a mark and rating.
Feedbacks are very welcome in order to improve the MOD functions and features.

[Original Source : http://www.silveryhat.com/delynie/f139/dnp-ajax-custom-news-link-modification-7086.html]

Update :
Upload all files and folders in the package to your forum_root folder (or forum_root/modules if used vBa CMPS). Use Product Manager to install product-dnp-custom-news-install.xml to upgrade your current version.

History Log :
v1.3
  1. Fix a minor bug
  2. Add support for vB Advanced CMPS
v1.2
  1. Cache Template fix. Performance optimized
  2. Add List Order (Newest first, Oldest first, Views, Random).
v1.1
  1. Improve AJAX Compability.
  2. Add Collapsible feature.
  3. New option to hide description and thumbnail for small news.
v1.0
  1. Initial Release.

Download Now

File Type: zip DnP Custom News Link 1.0.zip (11.9 KB, 130 views)
File Type: zip DnP Custom News Link 1.1.zip (12.3 KB, 118 views)
File Type: zip DnP Custom News Link 1.2.zip (12.5 KB, 138 views)
File Type: zip DnP Custom News Link 1.3.zip (12.6 KB, 351 views)

Show Your Support

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

Comments
  #22  
Old 10-11-2009, 01:26 AM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cedric_FP View Post
Yes I understand that it would create a lot more work for the admin of the forum, not to mention yourself.

Couldn't there only be big news on page 1, and the other pages just have small news?

Apologies if that is a stupid question - I actually know very little about coding AJAX and how the plugin works in general. Though it is running very well over at my site and I have managed to configure it to nearly the way I want it by editing the php file.

I see. I'll verify and try again - server definitely supports AJAX so it must be that I'm missing a file. Will let you know Thanks for the help.
Let me know if it works for you after the verification.

Quote:
Originally Posted by bada_bing View Post
How can I get this block to show up on vbportal rather then vbulliten home
I have not any experience on vbPortal so I cannot tell you what to do , maybe you should contact the coder of vBportal.

Quote:
Originally Posted by imiviortal View Post
suggestion and a request :

1. it would be very helpful if instead of inputing name thread and url and everything, just to define one or two forums which the "DnP AJAX Custom News Link" system will take the first new threads from there !

2. i have a request, how do i make it capable with VBADVANCED ? i tried to put the "$dnp_news_output" code in the "adv_portal" template, though, nothing happends, why is that ?

regards,
imiviortal.
1. It is definitely something I try to avoid. Because it loses the flexibility of having different kind of news from multiple categories at first, second if it automatically pulls new threads then a TopxStats MOD could do the same..
2. I believe you must include the PHP file in a PHP Module, I have not any experience upon vBadvanced installation though.
Reply With Quote
  #23  
Old 10-11-2009, 01:57 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post

How can I get this block to show up on vbportal rather then vbulliten home

I have not any experience on vbPortal so I cannot tell you what to do , maybe you should contact the coder of vBportal.

Silveryhat,

You are the coder of this mod.... this mod would be a nice addition to forums that have vbportal and vbadvance
Reply With Quote
  #24  
Old 10-11-2009, 03:06 AM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
Silveryhat,

You are the coder of this mod.... this mod would be a nice addition to forums that have vbportal and vbadvance
Yes I am the coder of the MOD but not for the others. I can only provide support within my knowledge since I never touch vbPortal. I know it might come to be a great idea to add the support for vBadvanced and vBPortal but I mainly design it for the vBulletin forum only at this time.
Reply With Quote
  #25  
Old 10-11-2009, 09:06 AM
sefakdas sefakdas is offline
 
Join Date: Oct 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks very good...

Turkish:
Teşekk?rler. G?zel ?alışma sitemde kullanıyorum
Reply With Quote
  #26  
Old 10-11-2009, 12:52 PM
animcentral's Avatar
animcentral animcentral is offline
 
Join Date: May 2009
Location: http://animup.net
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by silveryhat View Post
I totally see your point there
i gona w8 for that
if its possible to merge these two idea it's gonna be a great mod.
Features:
  • marquee/Ajax
  • with(out) image
  • Moderator mark thread as news
  • admin custom news/announcement
  • get rss feeds URL as news
  • get image/video from thread content
Reply With Quote
  #27  
Old 10-11-2009, 04:23 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great. Can you make the table collapseable when you do the next update?

EDIT: Will this only work in forumhome because I would like to display it in forumdisplay also, but cannot at present.
Reply With Quote
  #28  
Old 10-11-2009, 06:53 PM
FitgirlWorld FitgirlWorld is offline
 
Join Date: Jul 2009
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for AWESOME mod!

any way to resize the images it displays?

thanks

marked as installed
Reply With Quote
  #29  
Old 10-12-2009, 12:17 AM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by animcentral View Post
i gona w8 for that
if its possible to merge these two idea it's gonna be a great mod.
Features:
  • marquee/Ajax
  • with(out) image
  • Moderator mark thread as news
  • admin custom news/announcement
  • get rss feeds URL as news
  • get image/video from thread content
Some ideas sound pretty great and I'll include them in future versions. However, "get image/video from thread content" is definitely skipped because it will generate alot of problem and consume too much CPU resources since it has to goes through many different threads content. Look, the News Description supports BBcode, so if you have a flash bbcode tag, you can use it to embed some video clip already

Quote:
Originally Posted by choccyclaire View Post
This is great. Can you make the table collapseable when you do the next update?

EDIT: Will this only work in forumhome because I would like to display it in forumdisplay also, but cannot at present.
Yup I'll note that and I'll make collapsible block next version. However, the MOD is mainly for forumhom index at the current time, for any other additional locations I'll give detail instruction later to fit everyone's need.

Quote:
Originally Posted by FitgirlWorld View Post
thanks for AWESOME mod!


any way to resize the images it displays?

thanks

marked as installed
you can change it in the AdminCP , look for Normal News Image Width and Latest News Image Width
Reply With Quote
  #30  
Old 10-12-2009, 01:09 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Off Topic:

Can you share with us your custom quote div, on your forum. Looks great.

The rounded box when ppl quote members.
Reply With Quote
  #31  
Old 10-12-2009, 02:00 AM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you maybe have a max height option too?

Nominated btw.
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 01:01 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.14600 seconds
  • Memory Usage 2,365KB
  • Queries Executed 26 (?)
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_php
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (4)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete