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

Reply
 
Thread Tools
Zoints Tags module for vBadvanced CMPS Details »»
Zoints Tags module for vBadvanced CMPS
Version: 1.00, by Zoints Zoints is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.1 Rating:
Released: 09-27-2006 Last Update: 09-28-2006 Installs: 67
 
No support by the author.

This is a vBadvanced CMPS tag cloud module for the Zoints Thread Tags System. In the words of the author who didn't want credit:

Quote:
Originally Posted by super secret squirrel
The template is will work in either the center column or in the left / right sidebars. There is a conditional in the template that detects which column the module is in and if in the center column then the search box will will be the same width as the Zoints default screen (40 characters) but if it's in a sidebar then it'll be 20 characters and the 'Submit' button will be on the next line so that the sidebar template will fit into the 175px default width of a CMPS sidebar.

Just import the module (ACP => vBa CMPS => Download / Upload Module) and change your settings as desired. Don't forget that your /{forums}/modules folder needs to be writable in order for module uploads to work.

Attached are screen shots of it in the center and side columns.
Support will be provided at http://network.zoints.com in this specific forum.

Thanks go out to our anonymous programmer for this. Enjoy!

Show Your Support

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

Comments
  #12  
Old 10-03-2006, 09:28 PM
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
Location: London, UK
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 10-04-2006, 02:23 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by perfphysio
I am using 2.2.0
... and your /forum/modules folder is definitely set to 777?
Reply With Quote
  #14  
Old 10-26-2006, 02:22 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #15  
Old 10-26-2006, 02:33 AM
kompakt's Avatar
kompakt kompakt is offline
 
Join Date: Dec 2004
Location: FL
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #16  
Old 10-28-2006, 05:30 PM
kompakt's Avatar
kompakt kompakt is offline
 
Join Date: Dec 2004
Location: FL
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 11-30-2006, 03:24 AM
efil's Avatar
efil efil is offline
 
Join Date: Nov 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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".
Reply With Quote
  #18  
Old 11-30-2006, 08:01 AM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by efil View Post
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 . "
Reply With Quote
  #19  
Old 11-30-2006, 08:41 PM
efil's Avatar
efil efil is offline
 
Join Date: Nov 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
It's working.
Reply With Quote
  #20  
Old 02-20-2007, 10:15 PM
grandeur_69 grandeur_69 is offline
 
Join Date: Feb 2003
Location: Kelowna, BC, Canada
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 03-05-2007, 05:43 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this be set up on a right side column on the forum index ?
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 11:07 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.09521 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete