MyBB Community Forums

Full Version: [UPDATED][SEO] Simple TagCloud Plugin for myBB v 0.9a - Tag Cloud (beta)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
You didn't update plugin well, you make sth like this:
Copy new version to your ftp -> Uninstall your plugin (old version) -> install new version
instead
Uninstall your plugin (old version) -> copy new version to your ftp -> install new version (you should do this)

Disactivate and Activate plugin again - if it is not possible edit inc/plugins/stcp.php (line 382,383)
	/* Delete table */
	$db->query("DROP TABLE ".TABLE_PREFIX."stcp");
	$db->query("DROP TABLE ".TABLE_PREFIX."stcp_search");

to
	/* Delete table */
	//$db->query("DROP TABLE ".TABLE_PREFIX."stcp");
	//$db->query("DROP TABLE ".TABLE_PREFIX."stcp_search");

And try disactivate and activate it.
(2010-01-23, 09:09 PM)Watt Wrote: [ -> ]Disactivate and Activate plugin again - if it is not possible edit inc/plugins/stcp.php (line 382,383)
	/* Delete table */
	$db->query("DROP TABLE ".TABLE_PREFIX."stcp");
	$db->query("DROP TABLE ".TABLE_PREFIX."stcp_search");

to
	/* Delete table */
	//$db->query("DROP TABLE ".TABLE_PREFIX."stcp");
	//$db->query("DROP TABLE ".TABLE_PREFIX."stcp_search");

And try disactivate and activate it

get this when doing as you said:

Parse error: syntax error, unexpected $end in /home/.mima/pazrt/pazrt.com/forum/inc/plugins/stcp.php on line 1016
You didn't send it completely - file was sent in 70%-80% to your ftp server - wait untill it it send completely. Tell me if you make it Toungue
(2010-01-23, 09:17 PM)Watt Wrote: [ -> ]You didn't send it completely - file was sent in 70%-80% to your ftp server - wait untill it it send completely. Tell me if you make it Toungue

good..I think that worked..now do I go back and delete and replace the new code in the plugin with the old code?
(2010-01-23, 09:21 PM)Shemo Wrote: [ -> ]
(2010-01-23, 09:17 PM)Watt Wrote: [ -> ]You didn't send it completely - file was sent in 70%-80% to your ftp server - wait untill it it send completely. Tell me if you make it Toungue

good..I think that worked..now do I go back and delete and replace the new code in the plugin with the old code?

Yes Smile I was pleased to help Smile
(2010-01-23, 09:22 PM)Watt Wrote: [ -> ]
(2010-01-23, 09:21 PM)Shemo Wrote: [ -> ]
(2010-01-23, 09:17 PM)Watt Wrote: [ -> ]You didn't send it completely - file was sent in 70%-80% to your ftp server - wait untill it it send completely. Tell me if you make it Toungue

good..I think that worked..now do I go back and delete and replace the new code in the plugin with the old code?

Yes Smile I was pleased to help Smile

thanks...I don't need to deactivate/activate after I replace new code, do I?
(2010-01-23, 09:25 PM)Shemo Wrote: [ -> ]
(2010-01-23, 09:22 PM)Watt Wrote: [ -> ]
(2010-01-23, 09:21 PM)Shemo Wrote: [ -> ]
(2010-01-23, 09:17 PM)Watt Wrote: [ -> ]You didn't send it completely - file was sent in 70%-80% to your ftp server - wait untill it it send completely. Tell me if you make it Toungue

good..I think that worked..now do I go back and delete and replace the new code in the plugin with the old code?

Yes Smile I was pleased to help Smile

thanks...I don't need to deactivate/activate after I replace new code, do I?
You can, to be sure that everything works but I think that all should work fine.




Anybody has an idea how to reduce querys on index and forumdisplay page? Make long query with multiple 'WHERE' (SELECT * from mybb_stcp WHERE tag=xxx1 or tag=xxx2 ... tag=xxx200)? Any ideas?
what are these settings? don't see any text next to the text box

[attachment=17105]
Strange, delete lang (stcp.lang.php) file from inc/languages/english/admin, send new lang file to inc/languages/english and reactivate plugin. You should see this:
$l['stcp_16_title'] = "Amount searchlog-tags on index page";
$l['stcp_16_desc'] = "How many searchlog-tags should be show on index page?";
$l['stcp_17_title'] = "Size of searchtag";
$l['stcp_17_desc'] = "How big (in pixels) should be searchtag?";
$l['stcp_18_title'] = "Searchtags mode";
$l['stcp_18_desc'] = "Where should searchtags be showed - write a number<br />

<b>0</b> - Nowhere (It will tur off the searchtag function)<br />
<b>1</b> - on index page<br />
<b>2</b> - on tagpage<br />
<b>3</b> - on indexpage and on tagpage<br />
";
$l['stcp_19_title'] = "Path and link to your searchtags";
$l['stcp_19_desc'] = "Path to your tags (if you chage it you have to change .htaccess). You can choose how your tags will be presented - {\$searchtag} is your searchtag name :)<br />";

I've been running v0.7 with MyBB 1.4.11 for some days. Today upgraded to v0.8 (deactivated v0.7 in ACP, updated files, activated v0.8 in ACP). After the upgrade:

1) All old tags are lost. Angry

2) Tags appear in the cloud multiple times depending on their order in the tag sequences of threads. For example, if I tag Thread 1 with aaaa, bbbb, and Thread 2 with bbbb, cccc, the tag cloud will display bbbb twice, with the first bbbb referring to Thread 1 and the second - to Thread 2.
(I suppose this was the same with v0.7 also)

3) The tag cloud footer still reads "v 0.7" instead of "v 0.8"
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46