Please login or register.

Login with username, password and session length
Advanced search  

News:

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

Author Topic: Plogger - sNews 1.5  (Read 5079 times)

yoyo

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Plogger - sNews 1.5
« on: September 28, 2006, 07:57:32 pm »

I completed this tutorial
http://p-ahlqvist.com/home/integrating_plogger_into_snews/

but i get an error like this one when i try to acces localhost/snews15/photo

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in E:\xampp\htdocs\sNews15\snews.php on line 442

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in E:\xampp\htdocs\sNews15\snews.php on line 453
Requested contents does not exist

i think it is an error on my .htacces file:


   php_value session.use_trans_sid 0

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ index.php?category=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+) index.php?category=$1&title=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z_]+)/([^/]+)/([^/]+)/ index.php?category=$1&title=$2&commentspage=$3 [L]
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^([a-z0-9_-]+)/([0-9]+)/ index.php?category=$1 articlespage=$2 [L]


how can i trick :) the htacces file to exclude my photo directory?
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Plogger - sNews 1.5
« Reply #1 on: September 29, 2006, 07:37:45 am »

Mhm, this I can't answer. The "tut" is for version 1.4. I haven't tried it out with 1.5 yet, and will not do so until the final stable release is made, and I will update my site... Seems a bit unnessecary in the meantime... But I wonder... Is there really a difference ? Well it just might as you got problems...

Patric.
Logged
"It's only dead fish that goes with the flow... "
Updated

yoyo

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Plogger - sNews 1.5
« Reply #2 on: September 29, 2006, 03:03:11 pm »

Yeah!
I found the right way :)

I installed in my root directory:

/plooger
/snews

in /plogger/index.php



http://p-ahlqvist.com/home/integrating_plogger_into_snews/

sNews 1.5 RC
Logged

yoyo

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Plogger - sNews 1.5
« Reply #3 on: September 29, 2006, 05:35:02 pm »

I just modified a mod to display random pictures from plogger into snews:

Source file
http://www.reweb.ro/mods/snews/sidebar-images.txt

Copy the file into your snews directory and rename .txt to .php
Modify the file to meet your needs and include it into snews index.php

Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Plogger - sNews 1.5
« Reply #4 on: November 28, 2006, 04:09:22 pm »

Well, might just say that my tutorial do work on 1.5 aswell, the only difference is that YOYO had the Plogger in a folder outside the sNews one... I'm putting the plogger inside sNews folder...
Logged
"It's only dead fish that goes with the flow... "
Updated

piXelatedEmpire

  • MIA
  • ULTIMATE member
  • ******
  • Karma: 37
  • Posts: 1401
  • currently MIA
Plogger - sNews 1.5
« Reply #5 on: December 07, 2006, 12:54:34 am »

Quote from: yoyo
http://p-ahlqvist.com/home/integrating_plogger_into_snews/
I just visited this link as I am interested in integrating Plogger into sNews however when i visit the page in IE (Im at work lol) I can't seem to see any reference to the tutorial?
Logged
my apologies to the sNews crew, but I will be MIA for the forseeable future

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Plogger - sNews 1.5
« Reply #6 on: December 07, 2006, 07:46:29 am »

sorry, I had played some with the SEF titles, and forgot to change this one back. It should now work again:
http://p-ahlqvist.com/home/integrating-plogger-into-snews/

Patric.
Logged
"It's only dead fish that goes with the flow... "
Updated

ketut

  • Full Member
  • ***
  • Karma: 0
  • Posts: 115
    • Book Bali Hotels
Plogger - sNews 1.5
« Reply #7 on: December 15, 2006, 12:11:44 pm »

not work :(

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Plogger - sNews 1.5
« Reply #8 on: December 15, 2006, 12:36:41 pm »

Logged
"It's only dead fish that goes with the flow... "
Updated

piXelatedEmpire

  • MIA
  • ULTIMATE member
  • ******
  • Karma: 37
  • Posts: 1401
  • currently MIA
Plogger - sNews 1.5
« Reply #9 on: December 18, 2006, 01:53:33 am »

works fine for me... try clearing your cache if you still cant view the link ketut
Logged
my apologies to the sNews crew, but I will be MIA for the forseeable future