• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[8wayRun.Com] XenPorta (Portal)

Status
Not open for further replies.
Not sure if its just me but I cant seem to get the recent events module working. I imported it fine, added it to the portal but nothing is displayed and i currently have 2 events. I am using the latest XenAtendo v2.0 and same with the portal. Has anyone got this module working? cheers.
 
I have some issues regarding the recent news module. I updated XenPorta, as well as uploaded the new recent news module. But regardless how much forums I select for news to appear it only take those threads from the first forum that I've selected from the settings. I tried many variations but nothing seems to help.
 
Not sure if its just me but I cant seem to get the recent events module working. I imported it fine, added it to the portal but nothing is displayed and i currently have 2 events. I am using the latest XenAtendo v2.0 and same with the portal. Has anyone got this module working? cheers.

I had a bit of trouble myself.
Make sure you extend the number of days forward and also turn off the Steam Only checkbox (if this is relevant).
 
.htaccess assistance...
I am trying to redirect my .com to .com/portal/

Can anyone point out what I am doing wrong?
The previously mention 301 redirect doesn't work.

PHP:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.potomacboaters\.com$ [NC]
RewriteRule ^.*$ [URL]http://potomacboaters.com%{REQUEST_URI[/URL]} [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^.*$ - [NC,L]
 RewriteRule ^(data|js|styles|install) - [NC,L]
 RewriteRule ^.*$ index.php [NC,L]
 
.htaccess assistance...
I am trying to redirect my .com to .com/portal/

Can anyone point out what I am doing wrong?
The previously mention 301 redirect doesn't work.

PHP:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.potomacboaters\.com$ [NC]
RewriteRule ^.*$ [URL]http://potomacboaters.com%{REQUEST_URI[/URL]} [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data|js|styles|install) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

Do you have cpanel? If so just use that, there is a re-direct option in the control panel and its much quicker and easier. If not just google 301 re-direct youll find something that will work for you. Thats what i did but ive changed it so i dont have the original htaccess file anymore sorry.
 
Do you have cpanel? If so just use that, there is a re-direct option in the control panel and its much quicker and easier. If not just google 301 re-direct youll find something that will work for you. Thats what i did but ive changed it so i dont have the original htaccess file anymore sorry.

Yeah I think it's because I have the www to non-www in there....
I'll keep looking...
 
Yeah I think it's because I have the www to non-www in there....
I'll keep looking...

lol yep thats why, I am in the EXACT same situation, as far as I know there isnt a fix without removing the 'code' to make www to non-www. I had to do this otherwise my FB login wouldnt work, also cleaner look without www. If i find a fix ill be sure to let you know, if you find one first let me know also :) cheers
 
Hey ddmmh! Thanks for the tip about CPanel, that gave me what I needed to know to insert.

So for eveyone here - here is my .htaccess entries to redirect a .com to a .com/portal/

This also includes a routine to switch a www.yoursite.com to yoursite.com
This also includes the latest (beta 5) xenForo .htaccess inserts.

PHP:
RewriteEngine On
#.com to .com/portal/  (if non-friendly URLs - use .com/index.php?portal)
RewriteCond %{HTTP_HOST} ^yoursite.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.yoursite.com$
RewriteRule ^/?$ "http\:\/\/yoursite\.com\/portal\/" [R=301,L]

 #www to non-www (remove if you don't want)
RewriteCond %{HTTP_HOST} ^www\.yoursite\.com$ [NC]
RewriteRule ^.*$ http://yoursite.com%{REQUEST_URI} [R=301,L]

#xenForo Redirects
RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(data|js|styles|install) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
 
lol yep thats why, I am in the EXACT same situation, as far as I know there isnt a fix without removing the 'code' to make www to non-www. I had to do this otherwise my FB login wouldnt work, also cleaner look without www. If i find a fix ill be sure to let you know, if you find one first let me know also :) cheers

FB Login doesn't work using the non-www entry?
Haven't noticed that although I have yet to start hitting the FB stuff just yet.
 
FB Login doesn't work using the non-www entry?
Haven't noticed that although I have yet to start hitting the FB stuff just yet.

I cant say thats a bug, but it diffentley was a issue for me and took a while to resolve, hope you have better luck.
 
.htaccess assistance...
I am trying to redirect my .com to .com/portal/

Can anyone point out what I am doing wrong?
The previously mention 301 redirect doesn't work.

PHP:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.potomacboaters\.com$ [NC]
RewriteRule ^.*$ [URL]http://potomacboaters.com%{REQUEST_URI[/URL]} [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^.*$ - [NC,L]
 RewriteRule ^(data|js|styles|install) - [NC,L]
 RewriteRule ^.*$ index.php [NC,L]
i reckon you should keep your rewrites separate.
what you are doing will only lead to pain. leave the default xenforo stuff alone, and add your stuff after it.
ie:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^xxxxx.net$ [NC]
    RewriteRule ^(.*)$ http://xxxxx.net/$1 [L,R=301]

</IfModule>

<IfModule mod_rewrite.c>

    RewriteEngine On
    redirect 301 /index.php http://xxxxx.net/community/index.php?portal
</IfModule>
 
incidentally, i think you must run xf out of a subdirectory (like /community/)to do what you are wanting to do, unless you manage some fancy htaccess conditionals.
 
i reckon you should keep your rewrites separate.
what you are doing will only lead to pain. leave the default xenforo stuff alone, and add your stuff after it.
ie:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^xxxxx.net$ [NC]
    RewriteRule ^(.*)$ http://xxxxx.net/$1 [L,R=301]

</IfModule>

<IfModule mod_rewrite.c>

    RewriteEngine On
    redirect 301 /index.php http://xxxxx.net/community/index.php?portal
</IfModule>

Yeah - you are right, I did post another entry though which functions as desired.
 
I cant say thats a bug, but it diffentley was a issue for me and took a while to resolve, hope you have better luck.

Wow... I bet that's why my VB4 FB stuff ain't working.
I mean it does, but then it doesn't.
I'll step into my stuff and see what happens - can always go the otherway - non-www to www
 
Ok I take back my rewrites.

Since XenForo is using .com/index.php as the Forums call... I just don't see where I can intercept the URL for .com and send to .com/portal/

Maybe something for the future....

Now I see why everyone has the /community/ tag - Oh well, live and learn...
 
Im have troubles getting the RecentNews module working, uninstalled re installed still no workie. Has anyone else experienced this?
 
Status
Not open for further replies.
Back
Top Bottom