2009-09-14, 05:46 AM
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
2009-09-14, 08:40 AM
(2009-09-14, 05:46 AM)Watt Wrote: [ -> ]Any problems PM me, it is important.
Thanks, Great Work n Nice Plugin,
But, 0.5 plugin
$size tag too big and too small till can't view at IE,
$size tag too big and small till disappear at Firebox,
if no $size tags by frequence, as before version 0.4 plugin,
random size will be perfect
Suggest : random colorful tags will be full perfect........
Watt and Friends, Take Care
2009-09-14, 10:16 AM
Turkish Plugins
Download
[attachment=15360]
Turkish By bomfile
Zip password:www.mybbdestek.com
http://forum.mybbdestek.com/Konu-basit-e...dece-md-de
Thanks.
Download
[attachment=15360]
Turkish By bomfile
Zip password:www.mybbdestek.com
http://forum.mybbdestek.com/Konu-basit-e...dece-md-de
Thanks.
2009-09-14, 02:24 PM
(2009-09-13, 12:44 PM)Watt Wrote: [ -> ]Thread one query
Index and forumdispaly - one tag - one query (if you got 300 tags per page 300 querys !! and I don't know what to do to make it beter :< )
God! Is a lot of queries.
I hope you optimize it on the next releases
2009-09-14, 05:49 PM
(2009-09-13, 06:11 AM)Watt Wrote: [ -> ]Try newest verion, if Im not wrong it should work.I would have 2 settings (stcp_min_size, stcp_max_size) instead of just the one (stcp_size). Then find the minimum and maximum occurrences of a tag ($min_amount, $max_amount). From there you can do a simple linear scaling:
(Tnx Tom for help)
I have got a question, have somebody got better idea how to size tags
$min_size = intval($mybb->settings['stcp_min_size']);
if ($min_size < 1) { $min_size = 1; }
$max_size = intval($mybb->settings['stcp_max_size']);
if ($max_size < $min_size) { $max_size = $min_size; }
$size_diff = $max_size - $min_size;
if ( $size_diff == 0 ) {
$scale = 0;
} else {
$count_diff = $max_amount - $min_amount;
if ( $count_diff > 0 ) {
$scale = $size_diff / $count_diff;
} else { $scale = 0; }
}
Now for each tag:$wielkosc = intval($exploded_tag[1]);
$size = intval($min_size + $scale * ($wielkosc - $min_amount));
if ( $size < $min_size ) { $size = $min_size;}
if ( $size > $max_size ) { $size = $max_size;} // should never happen
(2009-09-13, 12:44 PM)Watt Wrote: [ -> ]Thread one query
Index and forumdispaly - one tag - one query (if you got 300 tags per page 300 querys !! and I don't know what to do to make it beter :< )
$db->query('SELECT * FROM ' . TABLE_PREFIX . "stcp WHERE tag_name IN ({$tag_list})";
$tag_list should be a comma-separated list of tags used (each tag wrapped in quotes).2009-09-15, 08:43 PM
Hi
Persian/Farsi language (Fully Persian):
[attachment=15374]
Persian/Farsi by Pars in www.MybbIran.com
Persian Information for Simple TagCloud Plugin in MybbIran Forum:
http://community.mybbiran.com/thread-171-post-434.html
Thanks
Persian/Farsi language (Fully Persian):
[attachment=15374]
Persian/Farsi by Pars in www.MybbIran.com
Persian Information for Simple TagCloud Plugin in MybbIran Forum:
http://community.mybbiran.com/thread-171-post-434.html
Thanks
2009-09-15, 11:06 PM
(2009-09-14, 05:49 PM)laie_techie Wrote: [ -> ]Or you could just have the one setting, have it max_size|min_size, then explode it;(2009-09-13, 06:11 AM)Watt Wrote: [ -> ]Try newest verion, if Im not wrong it should work.I would have 2 settings (stcp_min_size, stcp_max_size) instead of just the one (stcp_size)..
(Tnx Tom for help)
I have got a question, have somebody got better idea how to size tags
$size = explode("|", $size_string_from_database);
2009-09-15, 11:07 PM
HI
some of my users after use new version were unpleasant and meet problem.
after click to "Add tags too all threads" they see white page without action. other members see chaos in their forums. and other problems....
Thanks
some of my users after use new version were unpleasant and meet problem.
after click to "Add tags too all threads" they see white page without action. other members see chaos in their forums. and other problems....
Thanks
2009-09-16, 04:54 AM
I'll make new version in weekend - problem - have you got screen of it?
Maybe too many queryes or they don;t activate plugin first ?
Maybe too many queryes or they don;t activate plugin first ?
2009-09-16, 09:27 AM
It often happens that guests viewing this tag:
/tags.php?tag=jscripts&page=thx.js&ver=1400
It is javascipt file for thankyou plugin. How comes it that?