vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - MK Subscription (https://vborg.vbsupport.ru/showthread.php?t=198995)

Huy Ho?ng 12-15-2008 10:00 PM

MK Subscription
 
/*================================================= =====================*\
########### MK Subscription Beta 1 - VBB Modification
########### Feel free to contact me Y! : demtuyettrang_vangem
\*================================================ ======================*/

Function:
Set track topics of interest. Members can set a track up to 10 topics

Demo: View file attach

Install:
1. Upload file mk_subscription.php to forumroot
2. Import file mk_subscription_product.xml
3. Edit navbar template, find

PHP Code:

<if condition="$show['member']">
            <
td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if> 

add below:

PHP Code:

<if condition="$show['member']">
                        <
td class="vbmenu_control"><a
href
="mk_subscription.php?$session[sessionurl]do=view">Subscribe</a></td>
                </if> 

Edit showthread,find:

PHP Code:

<tr>
        <
td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
    </
tr

Add below:

PHP Code:

<if condition="$show['member']">
        <
tr>
                <
td class="vbmenu_option"><a href="mk_subscription.php?$session[sessionurl]t=$threadidref="nofollow">Subscribe this Thread</a></td>
        </
tr>
</if> 


Please click Mark as Installed if you want to get support for this mod

dothanhtrung 12-16-2008 09:39 AM

uhm code by HQTH. install

Stoebi 12-16-2008 11:51 AM

Zended? *deinstalled*

bbcentral 12-16-2008 01:20 PM

Isn't this just the same thing as providing your members with a direct link to /forum/subscription.php?

For example:
https://vborg.vbsupport.ru/subscription.php

Don't see any purpose for this mod, it seems to duplicate a standard feature. Anyone can add a link to their menu, they don't need that separate php file.

Huy Ho?ng 12-16-2008 04:42 PM

Sorry. Mod was match function has the vbb. Suggest delete admin help

Si?uNoopy 12-16-2008 06:42 PM

Installed ;)) but Unistalled because functions is very like default vbulletin :)


All times are GMT. The time now is 02:18 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.01003 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete