Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Mollio-Beat"

Closed Thread
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 04-20-2006, 10:34 AM
jackdaw's Avatar
Casual Pligger
 
Join Date: Apr 2006
Posts: 64
Thanks: 19
Thanked 4 Times in 3 Posts
Smile

Quote:
Originally Posted by 3dKiller
Beatniak,

I see your sneak/spy is working, but mine is not in IE. Works occasionally in FF. See it here: http://inboxnews.com/sneak.php

Any ideas?

Also FYI the horizontal scroll bar is visible in IE no matter the screen resolution.

Thanks,

~3d
You are having the same problem as me. Sneak works with but not without the 'www' in front of your domain name.

Try http://www.inboxnews.com/sneak.php
  #22 (permalink)  
Old 04-20-2006, 10:39 AM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 142
Thanks: 24
Thanked 2 Times in 1 Post
Beatniak,

1. Sneak only works if the url includes www.

This works: http://www.inboxnews.com/sneak.php
This does NOT work: http://inboxnews.com/sneak.php

Thank you Jackdaw for pointing this out. Does anyone have a fix for this? Is a fix in the config.php file?

2. I rebuilt the site from scratch yesterday, then uploaded your template following your instructions to the letter. I have NOT edited anything except for the config.php file.

Wierd.

~3d

Last edited by 3dKiller; 04-20-2006 at 10:47 AM..
  #23 (permalink)  
Old 04-20-2006, 10:55 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Quote:
Originally Posted by 3dKiller
2. I rebuilt the site from scratch yesterday, then uploaded your template following your instructions to the letter. I have NOT edited anything except for the config.php file.

Wierd.
Weird indeed. It doesn't change the fact that your main.css is 1 line. Check for yourself:
1) right click and save target: http://www.inboxnews.com/templates/m...t/css/main.css
2) open it up in a text editor.

This has nothing to do with my template. Maybe some server settings? I'm sorry but I don't have a clue. I'm not an expert when it comes to server settings and stuff, so I can't really help you with that (sorry).
  #24 (permalink)  
Old 04-20-2006, 11:20 AM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Thanks: 14
Thanked 126 Times in 61 Posts
Create or open up your .htaccess file in the domain's root directory. Add the following, remembering to replace domain.com:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

Now all requests will include the www. part of the url. Doesn't affect subdomains. It will also help consolidate google pagerank. You can also use the following instead if you want to do the above plus redirect domain.com/index.php to domain.com. This further helps reduce pagerank leakage:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.domain.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
__________________


Last edited by Simon; 04-20-2006 at 11:34 AM..
  #25 (permalink)  
Old 04-20-2006, 10:57 PM
Constant Pligger
 
Join Date: Feb 2006
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
I found a bug with the vote boxes on your template:

When the grey vote button is clicked it should immediately turn into a white box with a dotted red outline, but what happes is that it turns into a smaller grey box (loses its padding). When i refresh the page the box changes to the dotted outline box like it supposed to. Any idea how to fix this?
  #26 (permalink)  
Old 04-21-2006, 01:16 AM
New Pligger
 
Join Date: Apr 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation pigg code

How to achieve pligg HTML tags allowed?????
  #27 (permalink)  
Old 04-21-2006, 04:49 AM
New Pligger
 
Join Date: Apr 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
That's weird - I had to reformat my main.css (so I could read it), but on linux, it was just a load of control-M (^M) instead of standard line breaks. I just shoved it in a reader and opened it up in non-dos, saved, and it was okay afterwards.
  #28 (permalink)  
Old 04-21-2006, 07:18 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Quote:
Originally Posted by kingwang
How to achieve pligg HTML tags allowed?????
config.php
  #29 (permalink)  
Old 04-21-2006, 07:46 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Quote:
Originally Posted by gragland
I found a bug with the vote boxes on your template:

When the grey vote button is clicked it should immediately turn into a white box with a dotted red outline, but what happes is that it turns into a smaller grey box (loses its padding). When i refresh the page the box changes to the dotted outline box like it supposed to. Any idea how to fix this?
Sorry, forgot to include the xmlhttp.js file in the release. Will update the file in the forums.

Line 157 should say:
Code:
target2.innerHTML = "<span>voted</span> ";
instead of
Code:
target2.innerHTML = "voted ";
Edit: the SPACE after </span> is important apparantly, or the box doesn't work anymore

Last edited by beatniak; 04-21-2006 at 07:59 AM..
  #30 (permalink)  
Old 04-21-2006, 09:48 AM
jackdaw's Avatar
Casual Pligger
 
Join Date: Apr 2006
Posts: 64
Thanks: 19
Thanked 4 Times in 3 Posts
Thumbs up

Quote:
Originally Posted by Simon
Create or open up your .htaccess file in the domain's root directory. Add the following, remembering to replace domain.com: ...
Thank you Simon, this really cleared up a lot of the other mess on my site. I don't understand how or why, but I've realized that 'something' is logging my visits to my www.pliggsite.com and pliggsite.com as totally separate events.

Since it is quite widespread in Pligg and Pligg templates to use the 'base URL' to construct links to the root of the site, it happens that I jump from eg. www.pliggsite.com to pliggsite.com without even realizing it... just because I pressed a 'Home' button or something. And then Pligg doesn't remember what I did just before, because the link made a move to the 'other' site.

With this .htaccess-edition of yours, the problem vanishes. I would prefer it the other way around, where the .htaccess would strip the URLs for all 'www's. But that would maybe reintroduce the problem with the sneak page?
Closed Thread

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

BB code is On
Smilies are On
[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
MacBlue Free Pligg Template by Yankidank Yankidank Pligg Templates 13 11-10-2008 05:37 PM
Release: Mollio-Beat Template 1.3 beatniak "Mollio-Beat" 51 01-14-2008 06:42 AM
How to upgrade modified mollio beat from beta8 to bet9 lauris "Mollio-Beat" 4 01-28-2007 02:07 AM
Cannot vote with Pligg B7.2 and Mollio Beat template. luckyclover Installation and Upgrade Help 8 09-06-2006 11:50 PM
Release: Mollio-Beat Template 1.1 beatniak "Mollio-Beat" 42 08-23-2006 06:40 AM


Search Engine Friendly URLs by vBSEO 3.2.0