Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Fri Jan 20, 2012 5:50 am Reply with quote

Greetings,

The SEO tags and Overrides....

When I try to override the default tag, it is adding it to the front of the generated tag.

Example....

Default Tag pf the site = My Website
Override = My Tag

What I get = My Tag - My Website

All I want is My Tag

While we are talking about it...In the past I have used the The forum Titles amd Post Titles for the Tags generated through $vars. Is there anyway to do that in 2.5?

Dawg
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



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

PostPosted: Fri Jan 20, 2012 10:10 am Reply with quote

What level override is it? (module? content? category?)

I would look at includes/nukeSEO/dh/dh.class.php and adjust the suffix used. It may be adding %sitename% to your title

Code:
   // If a title is generated, the suffix will be preceeded by $dt_sDelim

   var $dh_sModSuffix     = '%module% - %slogan% - %sitename%';
   var $dh_sCatSuffix     = '%sitename%';
   var $dh_sSubCatSuffix  = '%sitename%';
   var $dh_sContentSuffix = '%sitename%';


For the second question, not exactly sure what you are trying to do... it should already be using the 'topic_title' for content level and 'forum_name' for subcat level.
 
View user's profile Send private message Visit poster's website
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1772

PostPosted: Wed Jun 13, 2012 5:25 pm Reply with quote

I have an crazy issue... give it an option to activate to save the SEO tags or why it will not work on my local xampp?


Last edited by neralex on Sat Jun 16, 2012 9:54 am; edited 2 times in total 
View user's profile Send private message
spasticdonkey







PostPosted: Wed Jun 13, 2012 5:34 pm Reply with quote

If I understand you correctly, while the nukeDH system generates SEO tags automatically it does not save them. It only saves tags when you override the dynamically generated ones A little confusing but I hope that made some sense..
 
neralex







PostPosted: Wed Jun 13, 2012 5:50 pm Reply with quote

I can see the dynamically generated tags but it was not stored in the database, then i try to override it. I think its an UTF-8 database issue.
 
neralex







PostPosted: Sat Jun 16, 2012 11:47 am Reply with quote

The problem is not an UTF-8 issue it is based inside the mainfile.php of the new ckeditor. I hope Palbin read this in the next days.
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sun Jun 17, 2012 8:54 am Reply with quote

I do not understand what I need to look at.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
neralex







PostPosted: Sun Jun 17, 2012 10:39 am Reply with quote

neralex on NukeSEO wrote:
Hey Palbin,

i believe in your new mainfile with the changes for the ckeditor is an bug.

I can not store overrided SEO tags in the database. I have tested in last days so many things to fix it but now i have tested the mainfile. I have changed back to to original mainfile.php before we have start the ckeditor implementation and now with the old file i can override it.

Edit: I have found it!

In your new mainfile are some things changed. After a check with winmerge i have located near line 65 the ini_get for the register_globals and i believe here is a problem.

new in your file:
Code:
if (!@ini_get('register_globals')) {

   extract($_GET, EXTR_SKIP);
   extract($_POST, EXTR_SKIP);
   extract($_COOKIE, EXTR_SKIP);
}

old version from the RN25 package:
Code:
if (!@ini_get('register_globals')) {

   @import_request_variables('GPC', '');
}

This old one make it possible to store the overrided SEO tags. Please check it.
 
Palbin







PostPosted: Sun Jun 17, 2012 7:03 pm Reply with quote

Looking into it.
 
Palbin







PostPosted: Sun Jun 17, 2012 7:14 pm Reply with quote

Code:
if (!@ini_get('register_globals')) {

   extract($_GET, EXTR_OVERWRITE);
   extract($_POST, EXTR_OVERWRITE);
   extract($_COOKIE, EXTR_OVERWRITE);
}
 
neralex







PostPosted: Mon Jun 18, 2012 3:21 am Reply with quote

Looks good. I can override the tags. Thanks!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

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 ©