Author |
Message |
Dawg
RavenNuke(tm) Development Team

Joined: Nov 07, 2003
Posts: 928
|
Posted:
Fri Jan 20, 2012 5:50 am |
|
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 |
|
|
|
 |
spasticdonkey
RavenNuke(tm) Development Team

Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Fri Jan 20, 2012 10:10 am |
|
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. |
|
|
|
 |
neralex
Site Admin

Joined: Aug 22, 2007
Posts: 1775
|
Posted:
Wed Jun 13, 2012 5:25 pm |
|
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 |
|
|
 |
spasticdonkey

|
Posted:
Wed Jun 13, 2012 5:34 pm |
|
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

|
Posted:
Wed Jun 13, 2012 5:50 pm |
|
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

|
Posted:
Sat Jun 16, 2012 11:47 am |
|
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
|
Posted:
Sun Jun 17, 2012 8:54 am |
|
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. |
|
|
 |
neralex

|
Posted:
Sun Jun 17, 2012 10:39 am |
|
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

|
Posted:
Sun Jun 17, 2012 7:03 pm |
|
|
|
 |
Palbin

|
Posted:
Sun Jun 17, 2012 7:14 pm |
|
Code:if (!@ini_get('register_globals')) {
extract($_GET, EXTR_OVERWRITE);
extract($_POST, EXTR_OVERWRITE);
extract($_COOKIE, EXTR_OVERWRITE);
}
|
|
|
|
|
 |
neralex

|
Posted:
Mon Jun 18, 2012 3:21 am |
|
Looks good. I can override the tags. Thanks! |
|
|
|
 |
|