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 - Zoints Tags module for vBadvanced CMPS (https://vborg.vbsupport.ru/showthread.php?t=127749)

perfphysio 10-03-2006 09:28 PM

I am using 2.2.0

My standard forum is on http://www.physiobob.com/forum
My CMPS version can be seen on http://www.physiobob.com/forum/cmps_index.php

KW802 10-04-2006 02:23 AM

Quote:

Originally Posted by perfphysio
I am using 2.2.0

... and your /forum/modules folder is definitely set to 777?

Ntfu2 10-26-2006 02:22 AM

I get this,

Database error in vBulletin 3.6.0:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb3_adv_modules
(`title`, `identifier`, `filename`, `inctype`, `parent`, `templatelist`, `colspan`, `formcode`, `cleanoutput`, `options`, `useshell`, `link`, `modcol`, `displayorder`, `active`, `userperms`)
VALUES
('Zoints Tag Cloud', 'zoints_tag_cloud', 'zoints_main_cloud.php', 'php_file', '', 'zointstags_tagcloud_tag, adv_portal_zointstags_tagcloud', '0', '', '0', '', '1', '', '2', '', '1', '1,2,3,4,5,6,7,8,9,11,13,15');

MySQL Error : Duplicate entry '0' for key 1
Error Number : 1062
Date : Wednesday, October 25th 2006 @ 11:21:48 PM
Script : http://www.xxxx.com/forums/admincp/v...o=uploadmodule

kompakt 10-26-2006 02:33 AM

Thanks, but how can I modify this to work on vb 3.5 & cmps 2.1?

I tried adding tagcloud to the Portal Output Global Variables in vba cmps but it didn't help. (It worked with other plugins before)

kompakt 10-28-2006 05:30 PM

I got it working. If anyone else needs to do this. Upload the module from this post to the forum then create a new module from a file and set it up like the other one using the identifier zoints_tag_cloud then delete the autogenerated module and you're done.

I'm guess that there is a difference is in the .module format between 2.2 and 2.1 versions of cmps.

efil 11-30-2006 03:24 AM

Hi,
Is there a way that the mod will show just 10 tags for example , and not the amount that classified in admin cp at "Number of popular tags to show per page".

Darat 11-30-2006 08:01 AM

Quote:

Originally Posted by efil (Post 1128476)
Hi,
Is there a way that the mod will show just 10 tags for example , and not the amount that classified in admin cp at "Number of popular tags to show per page".


Yep - look in the code for the module and find this section:

Code:

$_tags = $db->query_read("
        SELECT zoints_tag.tag, COUNT(*) count FROM " . TABLE_PREFIX . "zoints_tag zoints_tag
        LEFT JOIN " . TABLE_PREFIX . "thread thread ON(zoints_tag.threadid = thread.threadid)
        WHERE thread.forumid IN(" . implode(',', $visible) . ")
        GROUP BY zoints_tag.tag
        ORDER BY count DESC
        LIMIT " . $vbulletin->options['zointstags_showtags'] . "
");

Just change the LIMIT section to however many you want:

Code:

LIMIT " . 10 . "

efil 11-30-2006 08:41 PM

Thank you!
It's working.

grandeur_69 02-20-2007 10:15 PM

I don't know who else is having conflicts with this and vbseo, but on my forum, it seams that the thread views don't work with this installed. Instead of going through this line-by-line to find the problem, I've modified the created file called: zoints_main_cloud.php as follows:

Throw this at the top of the file:
Code:

function zoints_cloud ()
{
        global $vbulletin, $db, $vbphrase;

and then this at the bottom:

Code:

        return $home[$mods['modid']]['content'];
}

$home[$mods['modid']]['content'] = zoints_cloud();

This just throws the whole thing into a function to keep from messing things up. I tried to make this a module, but it kept rejecting it ... but, then again, i've never looked up what the restrictions are.

VBUsers 03-05-2007 05:43 AM

can this be set up on a right side column on the forum index ?


All times are GMT. The time now is 02:59 PM.

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.01074 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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