vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - DZMod Pro - Ajax Top X (https://vborg.vbsupport.ru/showthread.php?t=193412)

DZ Coder 10-11-2008 10:00 PM

DZMod Pro - Ajax Top X
 
Djazair Mods Pro - Ajax Top X
By DZ Coder

This Product brought to you by
http://www.vbulletin-turkey.com
Description :


This hack adds the latest 'x' Posts & Latest Thread to your forumhome.

1. Added support for attachment paperclip if thread has attachments. Clickable and will a list of attachment from the thread & Options in the Admincp.
2. Added support for thread prefix & Options in the Admincp
3. Added support for thread tags & Options in the Admincp
4. Added support for thread icons
5. Added preview for last Message
6. Added support for replies window. Clickable and will open a list of users who replied to the thread.
7. Added Latest Thread Block
8. Added Top Posters
9. Added Newest Members
10. Added support for Posts ( in TOP Posters ) window. Clickable and will find all post the members.
11. Optimized AJAX
12. Optimized mysql query
13. Optimized templates

The original idea was nanoentities but he will not be releasing his hack for vB3.6. Basically this is the same idea, all new coding, all new templates.

This hack also shows the icons new last post on the thread was posted after your lastvisit or marking all forums as read and adding the icnos thread. can be set to exclude forums.

I am currently working on a seperate page where the user can set the number of stats he wishes to show.

Instructions

1) Import the product through your admincp by going "Manage Products" > "[Add/Import Product]". If you have already installed this plugin then select "Yes" for "Allow Overwrite".

2) For the product option in admincp going "Option vBulletin" > "[AJAX] DZMods Pro - Top X".

jambo_1969 10-12-2008 08:55 AM

Nice idea - before I install, I presume it has the ability to have "Private" and "Admin" forum posts not visible to the general members ?

DZ Coder 10-12-2008 09:04 AM

Sorry my friend, but I understand what you mean

jambo_1969 10-12-2008 09:08 AM

Will Admin/Moderator posts in Private Forums, show up in latest posts ?

Forum Lover 10-12-2008 09:13 AM

Quote:

Originally Posted by jambo_1969 (Post 1643178)
Nice idea - before I install, I presume it has the ability to have "Private" and "Admin" forum posts not visible to the general members ?

Quote:

Originally Posted by jambo_1969 (Post 1643183)
Will Admin/Moderator posts in Private Forums, show up in latest posts ?

Why don't you use disable forum ID to do that?

Forum Lover 10-12-2008 09:30 AM

preview, top poster, newest member, all are enabled. but now showing.:(

jambo_1969 10-12-2008 09:35 AM

Quote:

Originally Posted by Forum Lover (Post 1643187)
Why don't you use disable forum ID to do that?

I saw that after I posted, just wanted to make sure :)

eTiKeT? 10-12-2008 09:41 AM

Thanks DZ Coder Ellerin Dert G?rmesin ;)

DZ Coder 10-12-2008 09:56 AM

Quote:

Originally Posted by Forum Lover (Post 1643200)
preview, top poster, newest member, all are enabled. but now showing.:(

Its Shwing the latest Thread Block :)

Atakan KOC 10-12-2008 10:24 AM

far out

My Mod ALP PRO

HTML Code:

<script type="text/javascript">
<!--

    function alp_change()
    {
        countDownTime = $vboptions[alp_time];
        countlocation=1;
        ajax_alp = new vB_AJAX_Handler(true);
        ajax_alp.onreadystatechange(alp_update);
        ajax_alp.send('ajax.php', 'do=alp');
    }

DZMOD

HTML Code:

<script type="text/javascript">
<!--

    function dzm_change()
    {
        countDownTime = $vboptions[dzm_time];
        countlocation=1;
        ajax_dzm = new vB_AJAX_Handler(true);
        ajax_dzm.onreadystatechange(dzm_update);
        ajax_dzm.send('ajax.php', 'do=dzm');
    }

My Mod ALP PRO
PHP Code:

if (($_POST['do'] == 'alp2') and $vbulletin->options['alp_enable'])
{
$alpuser split(','$vbulletin->options['alp_user']);
if (
is_member_of($vbulletin->userinfo$alpuser))
{
$alpmax intval($vbulletin->options['alp_max']);
if (
$alpmax <= 0) {
    
$alpmax '5';
}

$alpttl intval($vbulletin->options['alp_ttl']);
if (
$alpttl <= 0) {
    
$alpttl 20;


DZMOD

PHP Code:

if (($_POST['do'] == 'dzm2') and $vbulletin->options['dzm_enable']) 

$dzmuser split(','$vbulletin->options['dzm_user']); 
if (
is_member_of($vbulletin->userinfo$dzmuser)) 

$dzmmax intval($vbulletin->options['dzm_max']); 
if (
$dzmmax <= 0) { 
    
$dzmmax '5'


$dzmttl intval($vbulletin->options['dzm_ttl']); 
if (
$dzmttl <= 0) { 
    
$dzmttl 20




All times are GMT. The time now is 03:30 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.01063 seconds
  • Memory Usage 1,757KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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