phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Can't register on forum with Advanced url Mod installed

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
wilsmex99



Joined: 07 Jun 2008
Posts: 4

Can't register on forum with Advanced url Mod installedPosted: Sat Jun 07, 2008 5:17 am    Post subject: Can't register on forum with Advanced url Mod installed

I've got the advance mod going, the meta tag mod going, and the better Title mod going. All are working great.

The only problem I have is when I try and register a new account, I get the following error:

Quote:
General Error
template->_tpl_load_file(): File ./styles/prosilver/template/.html does not exist or is empty


It actually DOES send the activation email, and upload the user to the DB, but i just get a blank page and that error after entering the captha code and hitting "register"

Any help please??
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3987

Can't register on forum with Advanced url Mod installedPosted: Sat Jun 07, 2008 8:34 am    Post subject: Re: Can't register on forum with Advanced url Mod installed

This is not related to our mods, unless you made a typo while implementing it.

So far, phpBB is trying to load ./styles/prosilver/template/.html as a template, as you see there is no file name.

Try to degrade to prosilver or subsilver2 to see if you still have the issue.

Isn't there more info in your error message (file, line number etc ..) ?

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
wilsmex99



Joined: 07 Jun 2008
Posts: 4

Can't register on forum with Advanced url Mod installedPosted: Sat Jun 07, 2008 5:55 pm    Post subject: Its working now...

I don't know what I did, but it is now working. I tried a different theme and had the same problem. Swithed to subsilver. (i'm using prosilver) tried it and it seemed to be working..

I emptied the cache again, switched back to prosilver, and it started working. Don't know what was happening.

Thanks for help!

2 More quick questions.

1) I tried registering with the forums, but didn't receive my activation emails?? Had to wait a day before it would let me try again.??

2) I currently have some custom php SQL script (i didn't write it) which is pulling the XX most recent posts from the board that I can display anywhere on my site.

Here is the script...
Code:

<?php
//our function getPosts($number);

function getPosts($limit) {

$username = "xxxxx";
$password = "xxxxx";
$hostname = "localhost"; //or your host IP
//connect to the phpbb database engine......
$dbh = mysql_connect($hostname, $username, $password)
    or die("Unable to connect to MySQL");

//select our phpbb databse
$selected = mysql_select_db("xxxxx",$dbh)
    or die("Could not select DB");

//make a query to get last $number topics from the forum....
//the not in is where you can add the private or hidden forum ID's - just look in the forums table and you will see the forum names and the ID's.
$myQuery =  "SELECT topic_id, topic_title FROM phpbb_topics ORDER BY topic_id DESC LIMIT $limit";
//run the query or fail with the error
$myQueryExecute = mysql_query($myQuery) or die (mysql_errror());
//this is the pagination or ourput
echo '<div id="recent_posts"><h3>Recent Posts</h3>';
//while there are rows available from the result...
while ($container = mysql_fetch_row($myQueryExecute)) {
//echo to the browser ......
echo '<li><img src="/images/comment.jpeg" /><a href="' . '/forum/viewtopic.php?t=' .
//the image is a little image that looks pretty at the side of each recent post....
//there is a <hr> horizontal rule between the posts to make it look pretty when combines with css....
$container[0] . '"' . ">" . $container[1] . "</a>" . "</li>";
//close the loop
}
echo '</div>';
//close the database connection
mysql_close($dbh);
//unset our variable $number
unset($number);
//close the function
}
?>
<?php
getPosts(5);
?>


My question is obvious, the URL in the anchor tag is for the old premodded urls with variables and all. How would I go about running the post title through the PHPBB3 url rewrite mod so that it matches the current rewriting..

Obviously I would be creating a lot of duplicate content by leaving it this way.

I imagine I would need another SQL statement to get the "forum" title because my urls are as follows.

-Http://www.site-name.com/forum/forum-topic-title/post-title-t1.html

Could you give me some direction on what I need to include? This script is running outside of the phpbb3 forum directory, so I imagine I would need to include some phpbb_seo classes to rewrite with??

help would be MUCH appreciated.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Can't register on forum with Advanced url Mod installedPosted: Mon Jun 09, 2008 9:28 am    Post subject: Re: Can't register on forum with Advanced url Mod installed

Give Search a chance on your new matter (I'm sure you'll find a similar function already patched), and please post a new thread for new topics.

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: