Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Feedback/Suggestions
Author Message
pdfx
Regular
Regular



Joined: Mar 13, 2008
Posts: 68

PostPosted: Mon Oct 27, 2008 7:50 am Reply with quote

I would love the meta tags etc to be more easier for noob to medium users of nuke so you can add keywords, titles, descriptons manually for:-Modules you create,
Individual Article pages created under content.

WOULD BE GREAT!!

Top work anyway

P
 
View user's profile Send private message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Oct 27, 2008 8:52 am Reply with quote

I agree there is much more to do in the future.
However, you will find different hacks here and there e.g. at:
http://nukeseo.com
http://slaytanic.sourceforge.net/
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Mon Oct 27, 2008 8:36 pm Reply with quote

The next release of nukeSEO (next on my list) will allow you to override meta tags (title, description, and keywords) by content type (module), content group (e.g. topic, category, forum) and / or specific content (story, content page, forum topic).

No date yet, but I will post updates on nukeseo.com

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
pdfx







PostPosted: Tue Oct 28, 2008 3:23 am Reply with quote

Well done, I have learned so much with this forum and the excellent help of all you techies out there..
Respect to you all....now go outside and see how many new buildings have been built since you last went outside~!!!

Very Happy
 
kguske







PostPosted: Tue Oct 28, 2008 3:23 pm Reply with quote

Were those we lept in a single bound? Surprised
 
alien73
Involved
Involved



Joined: Sep 15, 2008
Posts: 352

PostPosted: Tue Jan 13, 2009 2:03 pm Reply with quote

How about this.................

Basically you can add 2 new fields to the "add an article page" then modified the meta.php file to included my article meta tags on a page by page basis. You will aslo have to add these to edit story functions etc......


I added 2 variables in the meta.php file

$metastring .= "\n".'<meta name="Keywords" content="'.$mkeys.'" />';
$metastring .= "\n".'<meta name="DESCRIPTION" content="'.$mdescription.'" />';


replacing the standard ones in RN meta file

$metastring .= "\n".'<meta name="KEYWORDS" content=" keywords,etc...." />';
$metastring .= "\n".'<meta name="DESCRIPTION" content="'.$slogan.'" />';


I then created a function like this to place above the meta info in the meta file

global $mkeys, $mdescription;

//-->statkeys here you must insert your STATIC META-Keywords:

$statkeys = "insert, your, static, keywords";
meta();

//use static or dynamic keywords?
if (!$mkeys){
$mkeys = $statickeys;
}
else {
$mkeys = ereg_replace("\n", "", $mkeys);
}
//static or dynamic description
if (!$mdescription){
$mdescription = $slogan;
}
else {
$mdescription = ereg_replace("\n", "", $mdescription);
}


function meta(){

//-->selects keywords and description from nuke_stories table that we added

global $prefix, $dbi, $mkeys, $mdescription;
$remote = getenv ("REMOTE_ADDR");
if (eregi("article\&sid=([0-9]{1,5})",$uri,$regs)){
$uri = getenv ("REQUEST_URI");
if (eregi("article\&sid=([0-9]{1,5})",$uri,$regs)){
$storyid = $regs[1];
$result = sql_query("select mkeys, mdescription from $prefix"._stories." WHERE storyid='$storyid'", $dbi);
while(list($mkeys, $mdescription) = sql_fetch_row($result, $dbi)){
return $mkeys;
return $mdescription;

}
}
}

}



Note: This uses the old phpnuke mysql queries so it would need to be updated.


I wrote this off the top of my head so if there's some mistakes please be easy :>)
 
View user's profile Send private message Visit poster's website
alien73







PostPosted: Tue Jan 13, 2009 2:08 pm Reply with quote

I forgot to mention statickeys are used if you forgot to add meta keys to your article so it acts as global keys. It's better to have them in the database but I just added them in the meta file.
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Jan 13, 2009 2:39 pm Reply with quote

See here for old to new sql layer conversion. Wink

http://www.ravenphpscripts.com/posts16627-highlight-dbi.html
 
View user's profile Send private message
alien73







PostPosted: Tue Jan 13, 2009 3:17 pm Reply with quote

Thanks for the link... the sql layer is from phpbb style I believe.
 
jakec







PostPosted: Tue Jan 13, 2009 4:36 pm Reply with quote

I believe the code has been used in the patched Nuke files for a while.
 
alien73







PostPosted: Tue Jan 13, 2009 5:47 pm Reply with quote

Yeah I know.....

I'm hacking the PN News module to include Meta keywords and Meta description. It will be called Alien73 News Module for PN with Meta Tags... So when you add a file you can add Meta data right at the same location... It would be a nice addition to the core New module.

Since we decided to now move our site to RN we need these features so why not just contribute them. There's a high demand meta tags in NUke and is a must for serious webmasters. Drupal, Joomla, Concrete5 and all the rest have it why not NUKE????
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Jan 15, 2009 12:00 pm Reply with quote

I would certainly agree that having a more granular control over what meta data is used on a per page basis would be great but remember, it is not a magic bullet.
If your meta keywords do not tie in with your content, titles, meta description, a few alt tags etc then the site will still be below the level of optimisation it could be.

I can't wait for nukeSEO v2.0 Smile
 
View user's profile Send private message Send e-mail
alien73







PostPosted: Sat Jan 17, 2009 9:17 am Reply with quote

Using the title as keywords and hometext as the description is a safe bet.
 
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Sat Jan 17, 2009 10:29 am Reply with quote

Can someone put this discussion in perspective for me? I can see where you are trying to "sell" something or attract users from all over the web where having meta tags that are relevant would be useful. But a lot of *Nuke sites, at least in my experience, tend to be local and have a built in audience. For instance, I run a local bicycle club site. People who are interested pretty much know about us already. I'd just as soon not have hackers from all over the web visiting. I really don't care if Google indexes me or not. Is there some advantage in this situation to worrying about and making meta tags relevant? I'm not trying to be contrary and I can see where this would be useful to many sites; I'm just trying to improve my understanding of how and why all this works.
 
View user's profile Send private message Visit poster's website
Susann







PostPosted: Sat Jan 17, 2009 10:48 am Reply with quote

RavenNuke is already seo optimized but to get better positions in search engines you need to do a bit more. Whats already available from NukeSeo or Slaytanic isn´t enough to get the best results.
I´m sorry to say this.
I can only speak for my site. I don´t have a business site but like your site well known for our target group also international and the most will find us. Just not through the articles and content because they aren´t well optimized. I know the difference very well because before I switched over to RavenNuke I used hacks for articles and the content of my site and had 1a results.
If you don´t like visits from hackers and script kiddies from all over the world you should not let index your site from search engines or just don´t use the web. Thats the best solution to avoid everything.
 
alien73







PostPosted: Sun Jan 18, 2009 8:44 am Reply with quote

Here's a real world example on just this forum page. Here's the meta keyword and descriptions tags

<meta name="KEYWORDS" content="cms, web hosting, security, quality, php expert, raven, RavenNuke, ravennuke, raven nuke, ravenuke, Ravenuke, News, news, Technology, technology, downloads, php, PHP, themes, php scripts, php programming, php programmer, nuke sentinel, sentinel, nukesentinel, nuke sentinal, nukesentinal, sentinal, nuke help, raven scripts, kisgb, kissq, guestbook, programming" />

<meta name="DESCRIPTION" content="Quality PHP Web Hosting and Scripts" />


None of the keywords are relevant and the description doesn't match this page.

Now if the page had the keywords and description to match this page it would get more hits resulting in higher page ranking with less advertising costs.


<meta name="KEYWORDS" content="Raven Nuke, v2.3, Feedback, Suggestions, Meta, Tags"/>

<meta name="DESCRIPTION" content="I would love the meta tags etc to be more easier for noob to medium users of nuke so you can add keywords, titles, descriptons manually" />
 
pdfx







PostPosted: Tue Apr 07, 2009 4:42 am Reply with quote

Has this debate moved forward since i originally posted the question?

P
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Tue Apr 07, 2009 7:45 am Reply with quote

See Only registered users can see links on this board! Get registered or login! or over at Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Feedback/Suggestions

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©