Please login or register.

Login with username, password and session length
Advanced search  


Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Pages: 1 [2] 3 4 ... 10
 on: March 15, 2013, 03:37:08 pm 
Started by sibas - Last post by Fred K
I may be completely wrong but

a) I don't think returning "dl.php?f=" from some function will make a difference, and
b) The link is (I think) treated by sNews the same as any other link, so
RewriteRule ^files/([^/]+).pdf dl.php?f=$1 [NC]
won't work - i.e is (probably) cancelled by the
RewriteRule ^(.*)$ index.php?category=$1 [L] line.

How to solve it? Woush, I have no idea. Sorry.

 on: March 15, 2013, 11:22:27 am 
Started by sibas - Last post by sibas
Hmm I lost you here!!

I follow this rewrite rule
RewriteRule ^files/([^/]+).pdf dl.php?f=$1 [NC]

where I take it from
the above is wrong url

Nothing so far and I am not sure if is possible to make this rewrite
the link is manual generated i.e.

foreach($files_array as $key=>$val){
echo '<li><a href="dl.php?f='.urlencode($val).'">'.$val.'

perhaps to make it work is to return the dl.php?f= from some function?

 on: March 15, 2013, 10:46:34 am 
Started by matthiasrawles - Last post by nukpana
Pat, I would double check to make sure you don't have a space when you are entering in the hashed 'test' string.  Even better may be to delete the 2 setting lines and re-insert via sql:
Code: [Select]
INSERT INTO `settings` VALUES (27, 'username', '098f6bcd4621d373cade4e832627b4f6');
INSERT INTO `settings` VALUES (28, 'password', '098f6bcd4621d373cade4e832627b4f6');

 on: March 15, 2013, 10:39:01 am 
Started by sibas - Last post by nukpana
If you are using this with sNews, you may need to add "files" to the SEF catlist, then do the processing. I don' think you need to work with rewrite.

 on: March 15, 2013, 09:27:03 am 
Started by sibas - Last post by sibas
Hi there

I have this link

I try to make it appear like this

but I have no luck so far
here is some rewriterules that I have try

RewriteEngine On
#RewriteBase /sNews17
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*) $1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?category=$1 [L]

#RewriteRule ^files/([0-9]+)/?$ dl.php?f=$1 [NC,L]
#RewriteRule ^files/(.*)$ dl.php?f=$1.pdf [NC,L]
#RewriteRule ^files/([0-9]+)-([a-z]+) /dl.php?f=$1.pdf [NC]
RewriteRule ^files/([A-Za-z0-9-]+)/?$ dl.php?f=$1 [NC,L]

Any idea about?

 on: March 14, 2013, 05:52:19 pm 
Started by matthiasrawles - Last post by Patric Ahlqvist
Yo, D... thanks, although never really left ;) Just haven't been active at all, nor will I since my new (sorta) job is quite demanding. This problem is due to an old pal who's website I did, way back, had a problem and I thought I would fix it in a hurry as it only is about changing the strings in the DB.... NOT !!!

Ah, well... Still hoping for a friendly soul to assist me, and possibly some other bugger not being able to change/reset/renew passwords via DB string changes...

 on: March 14, 2013, 11:18:08 am 
Started by nukpana - Last post by nukpana

Not sure how many of you use Google Reader as a RSS reader or use it's services, but this is a heads up if you haven't heard.

 on: March 08, 2013, 10:09:30 pm 
Started by matthiasrawles - Last post by Keyrocks
Hi Pat ... welcome back!
With I had time to help you on this one but I'm off in a hurry for now. Sounds strange though, I've never had this problem yet so I probably woudn't be able to offer any clues at this point. Hope someone else can.

 on: March 08, 2013, 06:31:49 pm 
Started by matthiasrawles - Last post by Patric Ahlqvist
Mmmm, I'm having the exact same problem... I haven't been at this for quite some time, and is being asked to retrieve/reset a password on an old site I did. So as far as I remember I go at it, access the DB changes the pass and user string to be that MD5 hash stringy thingy up there wich should result in "test", and I'm so happy I remembered this... But alas, my 'appiness isn't longlasting as the login fails...

I would very much appriciate assistans, Bob, Doug, Fredde, anywhoooo might have input here. All things mentioned here is checked and thus far nothing. Same host as I've always used, nothing wrong with "bom", .htaccess, or anything else... bugger me, what the frack is this ?

this site have been up and running, and everyone involved have been able to logon, but this is now forgotten, by me changed to test/test, and there isn't anything happening...

With sincere hopes of aid, and a wish for a 'a'appy weekend to everyone.


 on: March 07, 2013, 01:25:18 pm 
Started by bobcat - Last post by lebohang
I would personally like to see the person who published the so-called hack come here and explain a) what it thinks the hack accomplishes and b) prove that the hack actually does something. And if it really does something, c) provide insight to how that could be prevented. So far I've seen no proof. And I'm not holding my breath.

Same from me. In fact, I suspect that the "exploit" report is fictitious... phoney... probably posted by someone who doesn't like sNews and who wants to scare people away from using sNews. And we know there are a few developers out there in la-la-land that want to discredit sNews all they can for their own personal gain.  :o

I think it is fitting exploit... I tried the code but it did not result in any (sNews 1.7) No need to fear :)


Pages: 1 [2] 3 4 ... 10