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

Closed Thread
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 04-21-2006, 01:34 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 575
Thanks: 14
Thanked 126 Times in 61 Posts
Quote:
Originally Posted by jackdaw
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?
You could attempt to strip the www from all urls. Then change the base url in config.php to http://yourdomain.com instead of http://www.yourdomain.com and try the vote box function again.

You'd need to change theses 2 .htaccess file lines from:

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

to:

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

Might not work, but then again it might!
__________________

  #32 (permalink)  
Old 04-21-2006, 02:05 PM
jackdaw's Avatar
Casual Pligger
 
Join Date: Apr 2006
Posts: 64
Thanks: 19
Thanked 4 Times in 3 Posts
Quote:
Originally Posted by Simon
Might not work, but then again it might!
Tested, and it works perfectly, also with the sneak page. Thank you Simon !
  #33 (permalink)  
Old 04-21-2006, 02:18 PM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 142
Thanks: 24
Thanked 2 Times in 1 Post
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:

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]
Thanks Simon. This did the trick!
  #34 (permalink)  
Old 04-21-2006, 09:16 PM
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
shakk had some improvements here and after reading the pligg chat, there's a beta 8 coming up. I also saw an awesome admin panel at the google group.

Could you guys give me some code input so i can make a Mollio Beat 1.1? Yank? Ash? 3D?

TIA
  #35 (permalink)  
Old 04-21-2006, 09:47 PM
Constant Pligger
 
Join Date: Feb 2006
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
Quote:
Originally Posted by beatniak
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
Ok I added the file to my JS folder in the mollio-beat template and changed "target2.innerHTML = "voted ";" to "target2.innerHTML = "<span>voted</span> ";" (which was line 164)

But I still have the problem. The text changes to "voted" instantly like it should, the problem is that the box doesnt change to the box with the red dotted outline until I refresh the page.
  #36 (permalink)  
Old 04-21-2006, 09:57 PM
Constant Pligger
 
Join Date: Feb 2006
Posts: 120
Thanks: 5
Thanked 1 Time in 1 Post
Nevermind, I got it working. Thanks!
  #37 (permalink)  
Old 04-23-2006, 11:27 PM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 142
Thanks: 24
Thanked 2 Times in 1 Post
Quote:
Originally Posted by beatniak
Could you guys give me some code input so i can make a Mollio Beat 1.1? Yank? Ash? 3D?
Beatniak,

I'm happy to share everything I come up with. Currently I'm working with Simon fine tuning some code. I'm also redesigning the user interface to make getting around the site more intuitive. Finally, i'm working on an upgraded login system to improve the social networking aspect of the site.

I should have something to show by Wednesday 4/26/06.

~3d

P.S. Thanks again for the fantastic template! This is a big leap forward for Pligg.
  #38 (permalink)  
Old 04-25-2006, 12:45 AM
New Pligger
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Is it possible to add the problem box and if so how?

Thanks
  #39 (permalink)  
Old 04-25-2006, 09:44 AM
New Pligger
 
Join Date: Apr 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Thx for that great work, looks awesome !!
But I'm a user, not a coder, can you give me some help to implement some 468*60 advertisement banner in the header of your template ?
Sorry, I didn't found any links related to that topic. I'm a french guy, plz post something readable for my primitive understanding of your language
thx !

Lobodateck
  #40 (permalink)  
Old 04-25-2006, 03:23 PM
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 Lobodateck
...can you give me some help to implement some 468*60 advertisement banner in the header of your template ?
If you want the banner just above the breadcrumb (le truc comme yoursite >> category >> article), open body.tpl and insert you banner code here:
Code:
<div id="contentbox">
<your banner code>
<div id="breadcrumb">
If you want the banner in the header itself, you'll have to open up header.tpl and create a div called banner and set the margins etcetera in main.css.
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