Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
ketsugi
Nucleus Professional


Joined: 14 Jan 2005
Posts: 801
Location: Singapore

Post Posted: Fri Jun 09, 2006 5:16 am   Post subject:
Reply with quote

Thanks for the heads up about the injection issue, I'd totally forgotten about that.

I'm not sure if using a WHERE clause will help, because like I said the catid is being set properly. If I'm not wrong the selector should work as long as $catid is set, which it is. Yet... no workee.

_________________
The Panegyrist

Back to top

View user's profile Send private message Visit poster's website ICQ Number
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Fri Jun 09, 2006 6:19 pm   Post subject:
Reply with quote

you need to set a $blogid too, that works with the $catid

Back to top

View user's profile Send private message Visit poster's website
ketsugi
Nucleus Professional


Joined: 14 Jan 2005
Posts: 801
Location: Singapore

Post Posted: Fri Jun 09, 2006 7:12 pm   Post subject:
Reply with quote

As I mentioned before that didn't help. When I set the blogid, Nucleus thought the page was a search page (thanks to the $query variable being set).

I'll try setting the $blogid without having a $query variable set and see if that works, though...

_________________
The Panegyrist

Back to top

View user's profile Send private message Visit poster's website ICQ Number
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Fri Jun 09, 2006 9:29 pm   Post subject:
Reply with quote

hmm, weird... Razz

$query = null; or $query = false; ?

Back to top

View user's profile Send private message Visit poster's website
Dugge
Nucleus Newbie


Joined: 02 Oct 2006
Posts: 19
Location: Sweden

Post Posted: Wed Oct 04, 2006 4:42 pm   Post subject:
Reply with quote

I'm using this in my htaccess file:

Code:

RewriteEngine on
RewriteRule ^member/(.*) index.php?arr=member/$1
RewriteRule ^item/(.*) index.php?arr=item/$1
RewriteRule ^category/(.*) index.php?arr=category/$1
RewriteRule ^blog/(.*) index.php?arr=blog/$1
RewriteRule ^archive/(.*) index.php?arr=archive/$1
RewriteRule ^archives/(.*) index.php?arr=archives/$1


In my index.php file I have
Code:

<%php

$requestvars = $_GET["arr"];
$request_arr = explode("/", $requestvars);
if ($request_arr[0] == "item") {
   $_GET["itemid"] = $request_arr[1];
   $firsti = 2;
}
elseif ($request_arr[0] == "member") {
   $_GET["memberid"] = $request_arr[1];
   $firsti = 2;
}
elseif ($request_arr[0] == "category") {
   $_GET["catid"] = $request_arr[1];
   $firsti = 2;
}
elseif ($request_arr[0] == "blog") {
   $_GET["blogid"] = $request_arr[1];
   $firsti = 2;
}
elseif ($request_arr[0] == "archive") {
   $_GET["blogid"] = $request_arr[1];
   $_GET["archive"] = $request_arr[2];
   $firsti = 3;
}
elseif ($request_arr[0] == "archives") {
   $_GET["archivelist"] = $request_arr[1];
   $firsti = 2;
}

$xflag = true;
for ($i = $firsti; $i < count($request_arr); $i++) {
   if ($xflag == true) {
      $j = $i + 1;
      $_GET[$request_arr[$i]] = $request_arr[$j];
      $xflag = false;
   }
   elseif ($xflag == false) {
      $xflag = true;
   }
}

// This file will generate and return the main page of the site
$CONF = array();
$CONF['Self'] = 'http://www.hobbyman.se';

include('./config.php');
selector();

?>


Using this url ( http://www.hobbyman.se/item/10/catid/1 ) works but my skin/theme gets messed up. The right menu is dropped to the lower part of the page. Also the rss-images looses its url (broken image as result).

FYI: fancy urls is ON in admin settings.

What to do?
What have I missed?
Thx for help
//Dugge

_________________
www.hobbyman.se

Back to top

View user's profile Send private message Visit poster's website
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Wed Oct 04, 2006 4:48 pm   Post subject:
Reply with quote

I'm not seeing problems with the menu. The RSS iamges need to be replaced by absolute URLs. It will work if you make them link to "/media/rss/add-aol.gif" (note the extra slash on front).

Back to top

View user's profile Send private message Visit poster's website
Dugge
Nucleus Newbie


Joined: 02 Oct 2006
Posts: 19
Location: Sweden

Post Posted: Wed Oct 04, 2006 9:55 pm   Post subject:
Reply with quote

Legolas wrote:
I'm not seeing problems with the menu. The RSS iamges need to be replaced by absolute URLs. It will work if you make them link to "/media/rss/add-aol.gif" (note the extra slash on front).


PROBLEM IS FIXED - thx to Legolas!!
When u visited the first url I posted (http://www.hobbyman.se/item/10/catid/1 ) the menu was fine (in the right position), but when u clicked another post, the menu fell down to the footer. Maybe u didn't try any other posts? Well, I started by fixing the imageproblem by using absolute urls (I just added "/" before "media/rss..."). When I did that... the major problem with the moving menu was solved aswell!!!

Legolas, u are not just "Frodos" hero now. U are mine also!

Thx bigtime. U have just made my week Smile

Cheers!
//Dugge

_________________
www.hobbyman.se

Back to top

View user's profile Send private message Visit poster's website
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Thu Oct 05, 2006 6:42 am   Post subject:
Reply with quote

No problem, happy to have helped Smile

Back to top

View user's profile Send private message Visit poster's website
rebayona
Nucleus Newbie


Joined: 18 Jun 2005
Posts: 13
Location: Bogota, Colombia

Post Posted: Wed Mar 30, 2011 1:30 am   Post subject:
Reply with quote

Quote:
Only thing is that with fancyurls switched on in Global Settings, the fancyurls only appear as links in my first blog, but not on any other one.

All the blogs are currently using the same skin, so its not a skin issue.

links from my main blog are like this:
http://www.iwp.net/archive/1/2006-02

Links from my articles blog are like this:
http://www.iwp.net/articles.php?blogid=2&archive=2006-02

The links go to the correct items, categories, archive etc., but for anything other than the first blog they are not fancy...Sad

I realise that this is not a problem caused by the fancyurl plugin, but any help would be much appreciated.


Cheers,

William


I'm having exactly the same issue:
I'm using the FancyURLs without ForceType's method, it works OK:
As you can see: http://patton.blogdeldia.com/item/1244 works OK, but not on other blogs: http://patton.blogdeldia.com/desafio.php?itemid=1251

How can I fix it?

Thanks!

Back to top

View user's profile Send private message
ftruscot
Nucleus Guru
Nucleus Guru


Joined: 22 Feb 2006
Posts: 7449
Location: Massachusetts

Post Posted: Wed Mar 30, 2011 1:45 pm   Post subject:
Reply with quote

Can you show the Item Body field in the template used to display the index of this skin. I'm not sure there is a fix there, I just want to see it to be sure what variables we are dealing with.
_________________
Is your question not solved yet?
Search our FAQ,
read the Documentation, or
browse the list of available plugins.

Check out my plugins

Back to top

View user's profile Send private message Visit poster's website
Post new topic Reply to topic
Display posts from previous:   

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Page 8 of 9

All times are GMT + 1 Hour

Jump to:  

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

Powered by phpBB © 2001, 2002 phpBB Group