Customizing SMF > Modifications and Packages

Pretty URLs 1.0 - Updated for SMF 2.0

<< < (1338/1418) > >>

SMFHacks.com Team:

--- Quote from: abhirupmanna on June 10, 2012, 02:12:17 AM ---The files permissions says all are writeable.
Could it be because I'm using a different theme ?

--- End quote ---
I don't think so. I would try asking in the support forums I think this is a somewhat common issue might be hosting configuration.

fma965:
i have some sort of conflict between this and the mod below. http://www.simplemachines.org/community/index.php?topic=474727

basically when using both these 2 mods all urls seems to change from ACTION= TO ACTION;= and is stopping them all working.


--- Quote from: fma965 on June 17, 2012, 11:48:17 AM ---
--- Quote from: emanuele on June 17, 2012, 11:33:59 AM ---Unless you give us some hints on what you have installed I have no ideas. :P

--- End quote ---

oh yeah :D


--- Code: ---1. Tapatalk SMF 2.0 RC4/RC5/Final Plugin 3.0.2 
3. SA Twitter 0.6 REV 30 
4. EU cookie law 0.1.2 
5. SimplePortal 2.3.5 
6. SA GPlus 0.3 REV 9 
7. SA Facebook 2.0 RC4 Rev58 
8. Menu Editor Lite 1.0.5 
9. Pretty URLs 1.0 

--- End code ---

Thats all :) it did however seem to start when i installed EU cookie law.

also
 htaccess file

--- Code: ---# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# http://code.google.com/p/prettyurls/
# .htaccess file generated automatically on: June 16, 2012, 12:34

RewriteEngine on
RewriteBase /

# Rules for: actions
RewriteRule ^(activate|admin|ads|announce|attachapprove|buddy|calendar|clock)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(collapse|coppa|credits|deletemsg|display|dlattach|editpoll|editpoll2)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(emailuser|findmember|forum|portal|groups|help|helpadmin|httpBL)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(im|jseditor|jsmodify|jsoption|lock|lockvoting|login|login2)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(logout|markasread|mergetopics|mlist|moderate|modifycat|modifykarma|movetopic)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(movetopic2|notify|notifyboard|openidreturn|pm|post|post2|printpage)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(profile|quotefast|quickmod|quickmod2|recent|register|register2|reminder)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(removepoll|removetopic2|reporttm|requestmembers|restoretopic|search|search2|sendtopic)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(smstats|suggest|spellcheck|splittopics|stats|sticky|theme|trackip)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(about:mozilla|about:unknown|unread|unreadreplies|verificationcode|viewprofile|vote|viewquery)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(viewsmfile|who|\.xml|xmlhttp)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(projects|p2map|fcbrowser|youtube)/?$ ./index.php?pretty;page=$1 [L,QSA]
# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]

# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]

# PRETTYURLS MOD ENDS

--- End code ---

and url
http://forgottencoders.co.uk

and of course the version is 2.0.2

thanks

EDIT: how do i change the z-index on the ecl notice? i cant find it in style.css or the index template.

--- End quote ---


--- Quote from: fma965 on June 17, 2012, 12:30:22 PM ---ok yep so its defo prettyurls. any ideas how to fix it though? also once i accept cookies (need to manually remove the ; from the url) it then works fine so i guess its conflicting with this mod for some reason. any ideas on a fix?

ok so apparently just disablind prettyurls and re-enabling it seems to have fixed it. just my final issue now.

Where is the css for this saved?

EDIT: Found it (sources\Subs-EclWarning.php)


--- Code: ---<style>
#ecl_notification
{
color: #f96f00;
background-color: white;
border-bottom: solid 3px #f96f00;
text-align: center;
font-size: 12pt;
padding: 8px;
width: 100%;
line-height: 25px;
position: fixed;
top: 0;
left: 0;
padding-left: 0;
padding-right: 0;
}
</style>

--- End code ---

--- End quote ---

--- Quote from: fma965 on June 17, 2012, 03:20:05 PM ---
--- Quote from: emanuele on June 17, 2012, 02:58:41 PM ---Okay, try this:

--- Code: (find) --- $context['ecl_accept_cookies'] = $scripturl . '?' . http_build_query(array_merge($_GET, array('cookieaccept' => '1')));

--- End code ---

--- Code: (replace with) --- $context['ecl_accept_cookies'] = $scripturl . '?' . http_build_query(array_merge($_GET, array('cookieaccept' => '1')),null, ';');

--- End code ---
The line is at the end of the file.

--- End quote ---

i so hope this works :D i have tried everything i can think of from code edits, settings, htaccess and nothing worked. just came on here to say i give up  :( but then read your latest post :)

-------------------------------------------------------

DAM it didnt work :( this is the url i am getting http://forgottencoders.co.uk/index.php?cookieaccept;=1 and when clicked it goes to a blank page (im guessing a 404 page?) just to confirm shouldn't the url be http://forgottencoders.co.uk/index.php?cookieaccept=1 (without the ;)? oh and also the same happens for index.php?action;=login and index.php?action;=login2 and more.

--- End quote ---

so then i was told to ask for help here.

--- Quote from: emanuele on June 17, 2012, 04:24:43 PM ---Since it is happening with all the URLs I'd suggest you to ask in the pretty URL topic support...the author should know better what the problem could be. ;)

--- End quote ---

Please help, thanks.

fma965:
BUMP !

fma965:
Seriously Come on some one must know.

vbgamer45:
Disable action url rewriting if you can.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version