vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Subscribed/Favorite Forums Module [vba CMPS module] (https://vborg.vbsupport.ru/showthread.php?t=128111)

Skedoozy 10-01-2006 09:00 PM

Subscribed/Favorite Forums Module [vba CMPS module]
 
I got tired of hoping someone would make this one and made it myself.

This was done on vBa CMPS v2.2.0 & Vb 3.6.1 but it should work with at least Vb 3.5.4 and above.

Subscribed/Favorite Forums Module 1.0 For vBa CMPS by Skedoozy (http://www.altign.com)

Installation Instructions

1. Upload favoriteblock.php to you /modules directory.

2. Create a new template. In your admin cp go to Styles & Templates > Style Manager > Add New Template. Name the template "adv_portal_fav" and paste the following in to it.

Code:

<tr align="center" valign="bottom">
        <td class="thead" width="2%">&nbsp;</td>
        <td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
        <td class="thead">$vbphrase[last_post]</td>
        <td class="thead">$vbphrase[threads]</td>
        <td class="thead">$vbphrase[posts]</td>
        <if condition="$vboptions['showmoderatorcolumn']">
        <td class="thead" width="20%">$vbphrase[moderator]</td>
        </if>
    </tr>
    $forumbits
<br />

3. Goto your vBa CMPS > Add Module > phpfile

Module Title: Favorite Boards(or Subscribed Boards if you prefer)
Column: Center
Display Order: Where you want it to display
Active: Yes
Update All Pages: Yes
File to Include: favoriteblock.php
Module Parent: none
Identifier: fav
Templates Used: adv_portal_fav
Clean File Output: No
Use Module Shell Template: Yes. Leave rest of settings to default and set your usergroups how you want.

4. Save. You are done.

dragonhart 10-02-2006 07:48 PM

Sweet...........thank you......Dragonhart

memomemo 10-02-2006 08:08 PM

Sir favorite forum empty.

Please help

https://vborg.vbsupport.ru/

Lionel 10-03-2006 03:33 AM

does not work for me. I have forums under root e.g. site.com/forums/ and all links are pointing to site.com/showthread.php etc... plus javascripts errors too

Skedoozy 10-04-2006 08:23 AM

Quote:

Originally Posted by memomemo
Sir favorite forum empty.

Please help

http://www.yuklerim.com/uploads/04bd309531.jpg

Do you have any subscribed forums added?

Skedoozy 10-04-2006 08:29 AM

Quote:

Originally Posted by Lionel
does not work for me. I have forums under root e.g. site.com/forums/ and all links are pointing to site.com/showthread.php etc... plus javascripts errors too

My forums are under root.. ie .com/showthread.php

Change the following line in favoriteblock.php
Code:

require_once('./includes/functions_user.php');
to
Code:

require_once('./forums/includes/functions_user.php');
That is the only link that is coded at all. The rest of the links are pulled from your own settings.

Don't understand the javascript error as there is no java involved at all.

Floris 10-04-2006 08:56 AM

I was working on this yesterday for a vb customer :) And now I can just get it from here: even better! Thanks for the hard work and for sharing. Nice stuff

memomemo 10-04-2006 08:03 PM

Yes I am an many subscribed forums added


http://www.forumsitesi.info/forum/index.php

center last of all


Quote:

Originally Posted by Skedoozy
Do you have any subscribed forums added?


Skedoozy 10-04-2006 08:07 PM

I'm not sure what it could be then unless your functions_user.php file is eleswhere then indicated in the favoriteblock.php.

memomemo 10-04-2006 08:16 PM

Quote:

Originally Posted by Skedoozy
I'm not sure what it could be then unless your functions_user.php file is eleswhere then indicated in the favoriteblock.php.

require_once('./includes/functions_user.php'); = Ok but thread empty

require_once('./upload/includes/functions_user.php'); = page empty

require_once('../includes/functions_user.php'); = page empty


All times are GMT. The time now is 04:08 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.03671 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_code_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