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:28 AM)Watt Wrote: [ -> ]
(2010-05-04, 03:33 PM)Shemo Wrote: [ -> ]ok, now I'm able to delete tags, but they're still not automatically being added.

google seo is giving me this error now though-
# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://www.pazrt.com/forum/$1?$2 [L,QSA,R=301]

Hmm, I have to ask google seo author about it. Can this function be turned off?
Hmm what about:

RewriteEngine on

# SEO Tag Cloud
RewriteRule ^tag/([^/]+)$ http://www.pazrt.com/forum/tags.php?tag=$1 [L,QSA]
RewriteRule ^ask/([^/]+)$ http://www.pazrt.com/forum/tags.php?sear=$1 [L,QSA]
RewriteRule ^tag/([^/]+)/([^-/]+)$ http://www.pazrt.com/forum/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tagsitemap.xml$ http://www.pazrt.com/forum/tags.php?sitemap=1 [L,QSA]
RewriteRule ^tagsitemap-page-([^/]+).xml$ http://www.pazrt.com/forum/tags.php?sitemap=1&spage=$1 [L,QSA]
RewriteRule ^deletetags=([^/]+)$ http://www.pazrt.com/forum/tags.php?deltags=$1 [L,QSA]
RewriteRule ^delspectag=([^/]+)&delspectagtid=([^/]+)$ http://www.pazrt.com/forum/tags.php?delspectag=$1&delspectagtid=$2 [L,QSA]
RewriteRule ^tag/$ http://www.pazrt.com/forum/tags.php [L,QSA]

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://www.pazrt.com/forum/$1?$2 [L,QSA,R=301]

# Google SEO Sitemap:
RewriteRule ^sitemap-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forums:
RewriteRule ^Forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^User-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

# Google SEO 404:
ErrorDocument 404 /forum/misc.php?google_seo_error=404

# Google SEO URL Forums:
RewriteRule ^forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^user-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]


# Page Manager
RewriteRule ^page-([^./]+)$ misc.php?page=$1 [L,QSA,NC]

# Portal
RewriteRule ^page-([0-9A-Za-z]+)\.html$ portal.php?pages=$1 [L,QSA]
I think problem is in directory to your forum

the tags appear to be deleting fine now, but it's not automatically adding tags to threads...
What is showing when you are trying to add tags.
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
(2010-05-05, 06:59 PM)Watt Wrote: [ -> ]What is showing when you are trying to add tags.

Watt,

it's not even showing up..I have to run the 'add all tags to threads' in the admincp for them to show up..see the attachment.
[attachment=18186]
(2010-05-05, 10:33 PM)Shemo Wrote: [ -> ]
(2010-05-05, 06:59 PM)Watt Wrote: [ -> ]What is showing when you are trying to add tags.

Watt,

it's not even showing up..I have to run the 'add all tags to threads' in the admincp for them to show up..see the attachment.



it looks like another plug in is affecting this one
(2010-05-06, 12:08 AM)technoman Wrote: [ -> ]
(2010-05-05, 10:33 PM)Shemo Wrote: [ -> ]
(2010-05-05, 06:59 PM)Watt Wrote: [ -> ]What is showing when you are trying to add tags.

Watt,

it's not even showing up..I have to run the 'add all tags to threads' in the admincp for them to show up..see the attachment.



it looks like another plug in is affecting this one

I'm pretty sure I haven't added since the last update, but I'll check on my test forum.

it works fine on my test forum, but like I said..I haven't added any new plugins.
weird..the plugin just started working fine...odd, but everything is working..I didn't make any changes..HMN!

I still see that option 3X for the plugin settings
[attachment=18193]

also..on my test forum, I see all 3 options below the plugin, but on my live forum, I only see the option to add all tags to threads..see here:
[attachment=18194]
[attachment=18195]
It has to be some strange cache.

Can you make link yourforum.com/tags.php?insert=2 in your case
partz.com/tags.php?insert=2
or
partz.com/forum/tags.php?insert=2

It should add tags
(2010-05-06, 07:35 AM)Watt Wrote: [ -> ]It has to be some strange cache.

Can you make link yourforum.com/tags.php?insert=2 in your case
partz.com/tags.php?insert=2
or
partz.com/forum/tags.php?insert=2

It should add tags

watt...it appears to be OK now, but see my above message..the 2nd half..still have some minor issues.
New threads do not appear in the label

inc/plugins/stcp.php
1349 and 1350 lines
	$firstpost=$db->fetch_array($db->query("SELECT * FROM ".TABLE_PREFIX."threads WHERE firstpost='".intval($_GET['pid'])."'"));  /* Code by ozanakkaya - community.mybboard.net */  
	if($mybb->input['pid'] == $firstpost['firstpost'])	

deleted and replaced

if($mybb->input['pid'] == $thread['firstpost'])

Sorry for english
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