Go Back   Pligg Forum > Pligg Help > General Help
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-15-2007, 11:30 PM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,103
Downloads: 29
Uploads: 1
Thanks: 288
Thanked 258 Times in 171 Posts
Help with URl method 2

Hi All,

it would be great to know how to have URL method to only stories in index, upcoming, stories page, profile, search and others to have the normal php URL 1 method.

Just noted that the PM and some other functionalities seems to break with URL method 2 :(

Thanks in advance.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-16-2007, 12:36 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,103
Downloads: 29
Uploads: 1
Thanks: 288
Thanked 258 Times in 171 Posts
Anyone know - will it work if I edit the getmyurl() function in /libs/html1.php to have the PM working or to remove the URL-method style links.

Or do I need o play with the htaccess file?
Reply With Quote
  #3 (permalink)  
Old 04-16-2007, 07:15 AM
kbeeveer46's Avatar
kbeeveer46 kbeeveer46 is online now
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,575
Downloads: 61
Uploads: 6
Thanks: 255
Thanked 649 Times in 514 Posts
This is off-topic but I fixed all those pagination bugs you were having the other day. The changes are in the SVN (can't remember which revision).

If you only want certain URLs using method 2 and others using method 1 then you will have to edit the URLs in html1.php
__________________
I accept donations for my time helping users like you on the forum and IRC.

FREE and premium Pligg Web Hosting (NO ads, Includes MySQL, PHP, PHPMyAdmin, and Control Panel) - PM me for discounts on premium packages or if you would like a custom-made package. Paypal accepted.
Reply With Quote
  #4 (permalink)  
Old 04-16-2007, 08:50 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,103
Downloads: 29
Uploads: 1
Thanks: 288
Thanked 258 Times in 171 Posts
Yep I was looking for URL 2 style URLs for certain urls -I played with the code in html1.php and edited the code for URL_method 2 only to find many things broken :( - that made me post this. Also as suggested by you - if we edit in the URL 1 does it require any change in the htaccess file? TIA
Reply With Quote
  #5 (permalink)  
Old 04-16-2007, 09:08 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,103
Downloads: 29
Uploads: 1
Thanks: 288
Thanked 258 Times in 171 Posts
Can anyone confirm if Private messaging works with URL method 2?
Reply With Quote
  #6 (permalink)  
Old 04-16-2007, 09:12 AM
kbeeveer46's Avatar
kbeeveer46 kbeeveer46 is online now
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,575
Downloads: 61
Uploads: 6
Thanks: 255
Thanked 649 Times in 514 Posts
Have you looked at pligg.tpl in the SVN? There were new hooks created for lightbox and thickbox. PM was not working when they were using the same hooks.
__________________
I accept donations for my time helping users like you on the forum and IRC.

FREE and premium Pligg Web Hosting (NO ads, Includes MySQL, PHP, PHPMyAdmin, and Control Panel) - PM me for discounts on premium packages or if you would like a custom-made package. Paypal accepted.
Reply With Quote
  #7 (permalink)  
Old 04-16-2007, 09:21 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,103
Downloads: 29
Uploads: 1
Thanks: 288
Thanked 258 Times in 171 Posts
You mean this http://pligg.svn.sourceforge.net/vie...59&pathrev=962 ?

I will test the new pligg.tpl and let you know.
Reply With Quote
  #8 (permalink)  
Old 04-16-2007, 09:22 AM
kbeeveer46's Avatar
kbeeveer46 kbeeveer46 is online now
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,575
Downloads: 61
Uploads: 6
Thanks: 255
Thanked 649 Times in 514 Posts
Yes, but don't change the spellchecker stuff. The modifications to that were reverted in a future changeset. And also, make sure you change the module files that correspond to those hooks.
__________________
I accept donations for my time helping users like you on the forum and IRC.

FREE and premium Pligg Web Hosting (NO ads, Includes MySQL, PHP, PHPMyAdmin, and Control Panel) - PM me for discounts on premium packages or if you would like a custom-made package. Paypal accepted.
Reply With Quote
  #9 (permalink)  
Old 04-16-2007, 09:33 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,103
Downloads: 29
Uploads: 1
Thanks: 288
Thanked 258 Times in 171 Posts
sure and thanks.
Reply With Quote
  #10 (permalink)  
Old 04-17-2007, 09:16 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,103
Downloads: 29
Uploads: 1
Thanks: 288
Thanked 258 Times in 171 Posts
All works fine with the new revision 965 for URL method 2 - thanks kb for helping.
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone got Friendly Urls (Url Method 2) working? revolver General Help 11 05-07-2008 11:32 PM
URL Method pkrtech Installation and Upgrade Help 2 03-03-2007 08:23 PM
FIX for gzip compression troubles, no .htaccess gzip compression method required Daniel Core Development 8 02-16-2007 02:16 PM
url method 2 advancement davebowker General Help 10 02-11-2007 04:45 PM
URL Method nish Bug Report 4 09-16-2006 03:01 PM


LinkBacks Enabled by vBSEO 3.0.0