Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Lost.. Read the readme over and over...

 
Reply to topic    Forum Index » Help View previous topic
View next topic
Lost.. Read the readme over and over...
Author Message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Lost.. Read the readme over and over... Reply with quote
I'm so lost. I've read the readme over and over and figured I'd just give up on the rUFU's for now. As you can see I was playing with it at http://www.flydilly.com/test.php and I have no idea why the full story links dont go anywhere and how to fix them so they go back to my page. I'm used to cutenews and you'd just put [full-link] and the rest would be taken care of.. but now it seems to generate some weird new URL and if I turn off rUFU's it still makes some weird URL that doesn't work or go anywhere. The readme doesn't explain if turning rUFU's off means I still need to edit urls.ini and if so do I need to do it differently than if I were using htaccess? I'm so confused. I just want to have the {title} link to the full story page and use the same test.php.. I even tried PHP_SELFing it to test.php with rUFU's turned off cause that's what it said to do and nothing. I figure this is mostly because I'm doing it all wrong. I've never been more frustrated. I never have this much trouble figuring anything out.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Thu May 11, 2006 6:01 pm View user's profile Send private message Visit poster's website AIM Address
Guest








Please login to hide the ads.

FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
Please check the example page if it's working there.



Also please look at the templates to find out how the template variables are working (as you already mentioned some have changed compared to Cutenews).



And finally I would suggest to create a testing page with one include instead of eight - less complicated.



Quote:
but now it seems to generate some weird new URL and if I turn off rUFU's it still makes some weird URL that doesn't work or go anywhere.


So you think having the news title in the URL is weird? Shocked Some people over at cutephp.com would kill for it (well not anymore as I made a hack for it) Smile
Thu May 11, 2006 7:06 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
ha i should have said that better. the SEO optimized URL is brilliant dont get me wrong. that's exactly what i want. trust me i found this site about last week i dont know what took me so long to click on your huge link in the cutephp forum but ever since i found your script or your version of the script.. i can't ever use cutenews again. yours is so much more superior. im impressed by the amount of variables you get to play with! one of my favorite additions is ASC and DES.. that's much better designed! especially with the views hack already in place. gonna have some fun. one thing i was curious about is.. does the rating script come preinstalled? do i need a plugin? i went through every plugin and i couldn't find it so i was hoping it was already installed. do i need to activate or does it just do it's thing? the example page would work for fullstory by the way.. it took me to the example and loaded my full story but i dont know how to edit that page or tell cutenews.ru to redirecto to a new spot.. and i guess it'd be easier if i could understand what the URL is masking. if i could figure out where to edit or what file to make or something i'd be alright. what am i doing wrong? i'll reinstall cutenews.ru as i broke some other things already anyways and i'll try one include and come back and see what's happening and give an update. im sorry to be such an annoyance, im usually pretty good at figuring this stuff out, i swear lol.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Thu May 11, 2006 8:57 pm View user's profile Send private message Visit poster's website AIM Address
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
Well, I didn't create the script. There is a genious Russian guy named lexa who is the mastermind of everything.



I once made an amateurish MySQL version based on the Russian version of Cutenews. He changed it into a script which supports both flat files and MySQL which is quite unique all over the web, I think.



Quote:
does the rating script come preinstalled? do i need a plugin? i went through every plugin and i couldn't find it so i was hoping it was already installed. do i need to activate or does it just do it's thing?


Yes, you have to download the plugin: http://english.cutenews.ru/forum/viewtopic.php?t=260

Installation instructions are in the post.



Quote:
it took me to the example and loaded my full story but i dont know how to edit that page or tell cutenews.ru to redirecto to a new spot..


Well, putting an include code in your desired file and changing the path in Options -> System settings should do it.



Quote:
and i guess it'd be easier if i could understand what the URL is masking. if i could figure out where to edit or what file to make or something i'd be alright.


To be honest, that's one of the very few things I haven't understood either. I wasn't able to find out how he did it so I had to go a different way when I created the title in URL hack for Cutenews.

The link creation is in functions.inc.php: cute_get_link
Thu May 11, 2006 10:10 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
oh wow! i had no idea about all that. that's awesome! i wrote him thanking him for his work haha. alright well here's an update of my progress or problems. i got it reinstalled and i notice on



http://www.flydilly.com/test/test.php



it shows the news and creates links to: http://flydilly.com/test/post/example/index.php/2006/05/11



which doesn't work. but, i noticed if i change that URL manually to:



http://flydilly.com/test/post/example?index.php/2006/05/11



that works with the example directory. so do i have to make directories based off that system? i see there is a bunch of files of what i presume makes up the 'template' or look of the page the news is on. i just dont understand it really. this seems much different than regular cutenews.



also thanks for the rating link.. i realize now that i did know that was there im pretty sure i have that downloaded already. my mistake. oh also i see where you said to change that directory in Options > System Settings. I see how that works but I figure until I have the directory structure built for it it won't work? Am I right? rUFU's seems to make no difference on or off lol.. Why am I so confused?

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri May 12, 2006 6:47 am View user's profile Send private message Visit poster's website AIM Address
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
Why is it always working for me but not for you? Sad



The script is here:

http://localhost/test/cuteru/index.php



I created a page test.php:

http://localhost/test/test.php



That's inside test.php:

Code:
<?php

include("cuteru/head.php");



include($cutepath."/show_news.php");



?>




And I changed "Path to main page" in Options -> System settings to this: http://localhost/test/test.php



When going to test.php I can see the posts which have URLs like this:

http://localhost/test/test.php/2006/05/03/test.html



And following those links I can see the full story - so everything is working.
Fri May 12, 2006 5:50 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
I'm still lost. I did what you said.. it kinda works.. If I don't tweak the links.. they still come up 'No input file specified.'



Like if I click the title on the article's title which is 'Something' it takes me to: http://flydilly.com/test/test.php/2006/05/11/something.html which says 'No input file specified.' so I change the URL to: http://flydilly.com/test/test.php?2006/05/11/something.html



and boom, beautiful there's my full story and a comment field ready to be used! Any idea why I'm having a question mark dilemma? Does rUFU's have anything to do with it? They're off. Can I just tell cutenews to put a ? instead of a / and be done with the problem?



Right now I have my System Settings set to http://flydilly.com/test/test.php like you said. I have to be overlooking something really easy because it doesn't seem that everyone else is having this much trouble.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri May 12, 2006 7:43 pm View user's profile Send private message Visit poster's website AIM Address
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
I think it's a server issue then.



Open inc/functions.inc.php and change this:

Code:
$result = chicken_dick($result.'/'.$link).preg_replace('/^(&|&amp;)/i', '?', $query);




to this:

Code:
$result = chicken_dick($result.'?'.$link).preg_replace('/^(&|&amp;)/i', '?', $query);

Fri May 12, 2006 8:27 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
cool.. fixing chicken_dick seemed to fix the {date} link. the full-story and link generated in the {title} seems to still use the / in the link.. and then i get my favorite 'no input file specified' message. if i change it in 'User Friendly Urls' from



[home]

post = "{year}/{month}/{day}/{title}.html"



to



[home]

post = "?{year}/{month}/{day}/{title}.html"



that breaks the code too.. it makes the URL look exactly how I want it but then it just doesn't work lol. asdlkfjasl;f. i use godaddy so i can't guarantee how the server is set up to be sure it'll work well with cutenews.ru



is this unusual? i thought maybe i just didn't understand how the script worked.. should i start over.. reinstall? anything to do with it being txtsql instead of mysql?

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Fri May 12, 2006 11:26 pm View user's profile Send private message Visit poster's website AIM Address
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
What about turning rUFUs to "yes" and creating the .htaccess file in Options -> User Friendly Urls? It would change the URLs from

this: http://flydilly.com/test/test.php/2006/05/11/something.html

to this: http://flydilly.com/test/2006/05/11/something.html
Sat May 13, 2006 7:41 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
ooh well that'll probably work too. all the sudden your hack started working (if you wanna call it that). i probably had old internet cache and it wasn't creating the links properly. i think i can take it from here haha. if this falls through i'll try your new advice. i really appreciate your help. i'm just glad it's workin now.. now i can have some fun Smile

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Mon May 15, 2006 3:38 pm View user's profile Send private message Visit poster's website AIM Address
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
ooh! check me out.



http://www.giantjoint.com <---



i think i mastered it. gonna try adding some hacks now. this one is using mysql but i still had to add the ? hack you told me. i wonder if that's just something with godaddy. here's how i have to do my includes to get it to work multiple and link properly.



<?PHP

$static['category'] = "6";

$static['number'] = "1";

include $cutepath.'/show_news.php';

?>



and of course the include to header.php is above in the file. i finally realized you can't mutilpe include the header.php ha. and i made a seperate php file called content.php in the same directory and told the system settings to point to content.php? instead of just content.php or index.php... your hack seems to only put a ? in the date field. when i put the ? after the content.php in system settings it makes the rest of the links work. am i doing it right cause it seems to be working this way. now i just have the full story load where i have show_news.php included on the content.php page. this makes it so i can't show mutiple includes on the full story page though. it'll load the news in every place it sees a include to show_news.php.. is there a way around that or maybe just a remote_headlines hack like for cutenews maybe? headlines are good enough if i could use those? im gonna need to figure that out soon anyway.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Wed May 17, 2006 1:15 pm View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Help All times are GMT + 1 Hour
Page 1 of 1

 
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
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.