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
(2010-05-05, 07:00 PM)fabo92 Wrote: [ -> ]Great plugin, but I don't understand why when I click on a tag it display "not found" page Sad Maybe the .htaccess??

Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
	# Turn off mod_security filtering.
	SecFilterEngine Off

	# The below probably isn't needed, but better safe than sorry.
	SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
	RewriteEngine on
	RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
	RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

	RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
	RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
	RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
	RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
	RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
	RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
	RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

	RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

	RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

	RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

	RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

	RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

        RewriteEngine on
        RewriteRule ^tag/([^/]+)$ tags.php?tag=$1 [L,QSA]
	RewriteRule ^ask/([^/]+)$ tags.php?sear=$1 [L,QSA]
        RewriteRule ^tag/([^/]+)/([^-/]+)$ tags.php?tag=$1&page=$2 [L,QSA]
        RewriteRule ^tagsitemap.xml$ tags.php?sitemap=1 [L,QSA]
	RewriteRule ^tagsitemap-page-([^/]+).xml$ tags.php?sitemap=1&spage=$1 [L,QSA]
	RewriteRule ^deletetags=([^/]+)$ tags.php?deltags=$1 [L,QSA]
	RewriteRule ^delspectag=([^/]+)&delspectagtid=([^/]+)$ tags.php?delspectag=$1&delspectagtid=$2 [L,QSA]
        RewriteRule ^tag/$ tags.php [L,QSA]


	<IfModule mod_env.c>
		SetEnv SEO_SUPPORT 1
	</IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
</IfModule>

My site: http://www.netmodding.org/forum/index.php

Please how can I solve??
Yes, you changed 'look' of tags - f.e. you added .html. I'm not good at htaccess, but I'm surf it is htaccess fault - http://www.netmodding.org/forum/tags.php...getto.html it works. If my solution do not help you'll have to ask on some forum Toungue

       RewriteEngine on
        RewriteRule ^forum/tag/([^/]+).html$ tags.php?tag=$1 [L,QSA]
    RewriteRule ^ask/([^/]+)$ tags.php?sear=$1 [L,QSA]
        RewriteRule ^tag/([^/]+)/([^-/]+)$ tags.php?tag=$1&page=$2 [L,QSA]
        RewriteRule ^tagsitemap.xml$ tags.php?sitemap=1 [L,QSA]
    RewriteRule ^tagsitemap-page-([^/]+).xml$ tags.php?sitemap=1&spage=$1 [L,QSA]
    RewriteRule ^deletetags=([^/]+)$ tags.php?deltags=$1 [L,QSA]
    RewriteRule ^delspectag=([^/]+)&delspectagtid=([^/]+)$ tags.php?delspectag=$1&delspectagtid=$2 [L,QSA]
        RewriteRule ^tag/$ tags.php [L,QSA]

ozanakkaya - I don't thnik that $thread exist in newsest mybb version.
Quote:watt...it appears to be OK now, but see my above message..the 2nd half..still have some minor issues.

It's hard for me to say in my opinion you have to have a cache which causes problems. Maybe it will fix auomat. when cache will clean itself?
for .9a do we just overwrite and old version or do we have to uninstall?
Where in the thread is the download link for v 0.9a?

Is the conflict with Google SEO fixed?
hey
serachlog tag (ask) is not working fine...
in my index page (http://www.seminarprojects.com) different "ask" tag has unique one url link,, (instead of different link)
and only two link showing in (http://www.seminarprojects.com/ask/seminar")... and its coming randomly.. why i cant show it all in one page...


please solve my problem
and i have another problem..
if i set "Tags on forum
Amount tags in forum [It can show a little more than you wrote]" greater than 0 in admin Board Settings for Simple TagCloud For MyBB

and when i go to forum display page
an error shows
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1104 - The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
Query:
SELECT `mybb_threads`.tag , `mybb_threads`.fid , `mybb_stcp`.tag_name , `mybb_stcp`.tag_amount FROM `mybb_stcp` LEFT JOIN mybb_threads ON `mybb_threads`.tag LIKE CONCAT('%',',',`mybb_stcp`.tag_name,'%') AND `mybb_threads`.fid != '' WHERE `mybb_threads`.fid = 29 ORDER BY RAND() LIMIT 2;


and if i set "Tags on forum" is equal to zero then no problem..
Is it possible for rel="nofollow" to be added to links in the tag pages?

Googlebot seems to be having difficulty in crawling my sitemap, keeps on giving me an error in Webmaster Tools.
hey
what i have to do for adding search tag to sitemap..
watt,
if($mybb->input['pid'] == $thread['firstpost'])
My site version 1.4.13
code is running smoothly at the moment

But $firstpost doesn't run the code(New thread just doesn't work)
thanks.
sorry english Sad
Hello, sorry for not posting (I have time only in weekends)

technoman - 0.9a somall update only overwrite files
Wimbledon - on the bottom
remshad -
#1 Unfortunally I don't see your problem, can somebody explaint this to me ?
#2 Hmm your hosting is the problem - ask admin of your hosting if he let you use it. (Unless version 0.8 should suit you Toungue )

Invictible - nofollow? Why? This would distroy whole idea of plugin - find lines like:
"<a href=\"".$link_forum.get_thread_link($fetch['tid'])."\" title=\"".zamiana_html($fetch['subject'])."\">".zamiana_html($fetch['subject'])."</a> - ".$user."\n";
and replace it to
"<a rel=\"nofollow\" href=\"".$link_forum.get_thread_link($fetch['tid'])."\" title=\"".zamiana_html($fetch['subject'])."\">".zamiana_html($fetch['subject'])."</a> - ".$user."\n";

Quote:Googlebot seems to be having difficulty in crawling my sitemap, keeps on giving me an error in Webmaster Tools.
What error?

Quote:what i have to do for adding search tag to sitemap..
I don't know, searchtags are for test for this moment. I don't know if you like them.

Quote:But $firstpost doesn't run the code(New thread just doesn't work)

Reinstall plugin (use v 0.9a)
(2010-05-14, 06:53 PM)Watt Wrote: [ -> ]Invictible - nofollow? Why? This would distroy whole idea of plugin - find lines like:
"<a href=\"".$link_forum.get_thread_link($fetch['tid'])."\" title=\"".zamiana_html($fetch['subject'])."\">".zamiana_html($fetch['subject'])."</a> - ".$user."\n";
and replace it to
"<a rel=\"nofollow\" href=\"".$link_forum.get_thread_link($fetch['tid'])."\" title=\"".zamiana_html($fetch['subject'])."\">".zamiana_html($fetch['subject'])."</a> - ".$user."\n";
What I meant was external links being nofollowed.
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