Advertisement:

Author Topic: vBulletin Style Meta Tags  (Read 169357 times)

Offline Rohan_

  • Sophist Member
  • *****
  • Posts: 1,328
  • Gender: Male
  • I Love SMF :)
Re: vBulletin Style Meta Tags
« Reply #320 on: March 29, 2011, 06:27:05 AM »
I want to use this for 1.1.13 is it possible ?? please help me please
Proud To Be An Indian

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: vBulletin Style Meta Tags
« Reply #321 on: March 29, 2011, 06:34:57 AM »
Not without rewriting it, no, and you'd have to manually install it on your theme too.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Rohan_

  • Sophist Member
  • *****
  • Posts: 1,328
  • Gender: Male
  • I Love SMF :)
Re: vBulletin Style Meta Tags
« Reply #322 on: March 29, 2011, 06:43:03 AM »
I will manually install it that is not a problem for me at all... but i can't rewrite it :(

can You please provide me the codes for making the changes please ?
Proud To Be An Indian

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: vBulletin Style Meta Tags
« Reply #323 on: March 29, 2011, 06:44:00 AM »
No, I won't, because all it will do is add further load to your server for no measurable gain.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline alpheus

  • Full Member
  • ***
  • Posts: 580
Re: vBulletin Style Meta Tags
« Reply #324 on: April 05, 2011, 10:33:49 AM »
where is the mod author please? First you doing a mod and then you are away!!! So many people waiting for 1.1.13 version of this mod. Please care with it...

Offline cellax

  • Jr. Member
  • **
  • Posts: 129
  • Gender: Male
    • DarkForge.it
Re: vBulletin Style Meta Tags
« Reply #325 on: July 12, 2011, 05:26:48 PM »
I was using a rewrote one on my board with smf 1.1.x

now I upgraded to smf 2 but I just attach to share. Dont install it without test it on localhost, check the code.

Offline MiY4Gi

  • Full Member
  • ***
  • Posts: 523
  • Gender: Male
  • Mm...
    • MyAnimeClub.net
Re: vBulletin Style Meta Tags
« Reply #326 on: July 12, 2011, 06:04:00 PM »
Careful. As Kindred pointed out, it's not SMF policy to attached modified mods. PM the current mod developer first. If he doesn't reply, then post the attachment, but it's very likely that a moderator will remove your attachment. I'm not sure what the correct procedure is, but I suggest you find out.
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

Offline MiY4Gi

  • Full Member
  • ***
  • Posts: 523
  • Gender: Male
  • Mm...
    • MyAnimeClub.net
Re: vBulletin Style Meta Tags
« Reply #327 on: August 08, 2011, 10:43:20 AM »
Alright, I just discovered that the mod hasn't been working on my forum for a while. After a little analyzing I realized that it was because I changed my theme, and the mod was only installed on the default Curve theme. This is just a heads up for anyone else who's thinking of changing theme. Re-install the mod after you change your theme.

I originally thought it might have been due to me using PortaMxSEF (another version of pretty urls), but I was wrong. I forgot that mods need to be re-installed or checked on every new theme.
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

Offline zijO

  • Jr. Member
  • **
  • Posts: 100
Re: vBulletin Style Meta Tags
« Reply #328 on: September 09, 2011, 01:17:56 AM »
Many thanks Sirius OCTeam for the RC4 update, works great other than the mod repeats user keywords twice and does not allow post keywords to be shown.

I found the solution was to find and delete this line in Subs.php
Code: [Select]
$context['meta_keywords'] = !empty($modSettings['meta_keywords']) ? $smcFunc['htmlspecialchars']($modSettings['meta_keywords']) : '';
You can see the difference using this site http://www.seocentro.com/tools/search-engines/metatag-analyzer.html

Worked for me anyway.



SMF 2.0

I removed line but now i get generated keywords 2 times then followed by my keywords.
as

my,post,my,post,  followed by my own keyboards

Offline zijO

  • Jr. Member
  • **
  • Posts: 100
Re: vBulletin Style Meta Tags
« Reply #329 on: September 20, 2011, 09:45:31 PM »
SMF2.0
Any idea why i get

index.php?topic=1364.msg11378#msg11378

#msg11378 two times ? :o

Offline MiY4Gi

  • Full Member
  • ***
  • Posts: 523
  • Gender: Male
  • Mm...
    • MyAnimeClub.net
Re: vBulletin Style Meta Tags
« Reply #330 on: September 21, 2011, 07:38:19 AM »
SMF2.0
Any idea why i get

index.php?topic=1364.msg11378#msg11378

#msg11378 two times ? :o

That, my friend, is either the way SMF works, or it is a bug in SMF. That problem comes standard in the default SMF install.

What really annoys me about the problem is that the ajax anchor tags (eg. #123) which are meant to take you to the relevant post (i.e. post #123) without reloading the page, can't do what it's supposed to do, since the URL is different (eg. topic=4356 =>topic=4356.msg123#123 instead of topic=4356 => topic=4356#123).

Anyway, I'm gonna create a new topic that discusses this. I reckon they should just remove the ajax #number bit since it's now redundant.

Actually, the ajax tag does serve it's purpose in that, without the tag (e.g. topic=4356.msg123), the browser simply goes to the top of the page containing the post (i.e. msg123), but with the tag (e.g. topic=4356.msg123#123), the browser not only goes to the page containing the post, but it also points to the relevant post within the page (i.e. post #123).
« Last Edit: September 21, 2011, 07:58:07 AM by MiY4Gi »
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,065
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: vBulletin Style Meta Tags
« Reply #331 on: November 07, 2011, 01:18:59 PM »
Can someone update this mod for 2.0.1?
Polskie wsparcie SMF na simplemachines.org

My mods

Offline MiY4Gi

  • Full Member
  • ***
  • Posts: 523
  • Gender: Male
  • Mm...
    • MyAnimeClub.net
Re: vBulletin Style Meta Tags
« Reply #332 on: November 07, 2011, 02:15:02 PM »
It already works for 2.0.1. Emulate the installation package for 2.0.1.
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,065
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: vBulletin Style Meta Tags
« Reply #333 on: November 07, 2011, 02:52:04 PM »
My bad.. sorry ;/

But still I have one question. In keywords, mod removes polish characters in single words.

If word is "Które" in site source will be "Kt", but in keyword where is whole topic title it's correct. Any way to fix that?

I'm using UTF8.
Polskie wsparcie SMF na simplemachines.org

My mods

Offline Margus

  • Semi-Newbie
  • *
  • Posts: 15
Re: vBulletin Style Meta Tags /
« Reply #334 on: February 24, 2018, 09:13:18 PM »
So it is still safe,  on 2.0.15
as getting the same theme error on default theme, near plain install:

Quote

./Themes/default/index.template.php
Find: [Select]

   <meta name="description" content="', $context['page_title'], '" />
   <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

Replace With: [Select]

   <meta name="description" content="', !empty($context['meta_description']) ? $context['meta_description'] : $modSettings['meta_description'], '" />
   <meta name="keywords" content="', !empty($context['meta_keywords']) ? $context['meta_keywords'] . ', ' : '', $modSettings['meta_keywords'], '" />

and i got:


// ]]></script>';

   echo '
   <meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
   <meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
   <meta name="keywords" content="' . $context['meta_keywords'] . '" />' : '', '
   <title>', $context['page_title_html_safe'], '</title>';


   // Please don't index these Mr Robot.


So should i replace all of it, ...simple as that or should i..

Offline Margus

  • Semi-Newbie
  • *
  • Posts: 15
Re: vBulletin Style Meta Tags
« Reply #335 on: February 24, 2018, 09:14:48 PM »
in truth, mostly i have been looking way to add tags under post,
or labels