Welcome to all phpBB2 Refugees!This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area. |
|
Author |
Message |
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Tue Nov 20, 2012 1:58 am Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
What is in your .htaccess?
I don´t understand url rewrites but I guess that's where the solution has to be found, in your .htaccess. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
taller3d Board Member
Joined: 18 Nov 2012
Posts: 15
|
Posted: Tue Nov 20, 2012 2:25 am Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
Hello Will,
here is.. but I dont understand this,,,
htaccess
of
/www/htaccess
Code: | RewriteEngine on
# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^phpmaxx/index\.html$ /phpmaxx/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^phpmaxx/[a-z0-9_-]*/([^/]+\.html)$ /phpmaxx/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^phpmaxx/[a-z0-9_-]*-c([0-9]+)\.html$ /phpmaxx/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^phpmaxx/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /phpmaxx/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^phpmaxx/[a-z0-9_-]*-f([0-9]+)\.html$ /phpmaxx/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^phpmaxx/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /phpmaxx/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^phpmaxx/[a-z0-9_-]*-t([0-9]+)\.html$ /phpmaxx/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^phpmaxx/post([0-9]+)\.html$ /phpmaxx/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^phpmaxx/member([0-9]+)\.html$ /phpmaxx/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^forox/index\.html$ /forox/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^forox/[a-z0-9_-]*/([^/]+\.html)$ /forox/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^forox/[a-z0-9_-]*-c([0-9]+)\.html$ /forox/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^forox/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /forox/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^forox/[a-z0-9_-]*-f([0-9]+)\.html$ /forox/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^forox/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /forox/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^forox/[a-z0-9_-]*-t([0-9]+)\.html$ /forox/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^forox/post([0-9]+)\.html$ /forox/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forox/member([0-9]+)\.html$ /forox/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
#RewriteRule .*\.([0-9]+[0-9]+[0-9]+jpg|jpeg|gif|png|bmp|mid|jpg|.mid|.gif|.bmp|.jpeg||mp3)$ www.elrincondelpoeta.net/forox/ [R,NC]
RewriteRule .*\.()$ - [F,NC]
RewriteRule .*\.()$ - [F,NC]
#RewriteRule .*\.(jpgx|jpegx|gixf|pnxg|bmxp)$ - [F,NC]
RewriteRule .*\.()$ - [F,NC]
RewriteRule .*\.()$ - [F,NC]
#RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
|
_________________
Code: | http://www.elrincondelpoeta.net/forox/
Hosting: deprived
Mods installed: last post and other
|
|
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Tue Nov 20, 2012 3:31 am Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
Perhaps, making the following changes in ultimos.php,
AFTER
Code: | $ultimo_usuario=$ultimo_usuario['username']; |
ADD
Code: | $ultimo_usuario_id=$ultimo_usuario['user_id']; |
CHANGE
Code: | 'LINK_AUTOR_ULTIMO' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$ultimo_usuario ), |
to
Code: | 'LINK_AUTOR_ULTIMO' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$ultimo_usuario_id ), |
solves the problem.
Try it to see if it works. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
taller3d Board Member
Joined: 18 Nov 2012
Posts: 15
|
Posted: Tue Nov 20, 2012 8:50 am Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
Thanks Willy, I tried to change that, but it does not work.
following message appears:
Code: | Not Found
The requested URL /forox/memberRamón Batista.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.elrincondelpoeta.net Port 80
------
Not Found
The requested URL /forox/memberR.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.elrincondelpoeta.net Port 80
|
Thanks Willy, I tried to change that, but it does not work.
following message appears:
I think something should be changed:
ultimos.tpl
ultimos.php
This problem appears when I install the mod to make it more friendly type html link ...
I dont remember the edited files.
and .. I think:
How do I stop the name without a link?
to make it look, but that is not clickable?
only to see it .. no link ... ?
delete what?
greetings,
-
edit:
I make this:
this:
Code: | <td class="row1" align="center" height="28">
<span class="gensmall">
<a href="{ultimos.LINK_TITULO}">
{ultimos.TITULO}
</a>
</span> |
change to:
Code: |
<td class="row1" align="center" height="28">
<span class="gensmall">
<a href="">
{ultimos.CREADOR_TEMA}
</a> </span>
<span class="gensmall" height="28">
el {ultimos.CREADOR_FECHA}</span> |
i have:
Code: |
<a href="{ultimos.LINK_CREADOR_TEMA}">
{ultimos.CREADOR_TEMA}
|
Code: | <a href="">
{ultimos.AUTOR_ULTIMO}
|
put another way: I abolish the link
now you see,
no you can click on the name, but no matter ... Okay so by now,
but would like to do is click the user profile. user or anything.
Greetings ..!
: ) _________________
Code: | http://www.elrincondelpoeta.net/forox/
Hosting: deprived
Mods installed: last post and other
|
|
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Tue Nov 20, 2012 9:48 am Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
Make the same changes as I posted before and additionally change in ultimos.php:
Code: | 'LINK_CREADOR_TEMA' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$assoc["username"] ), |
into
Code: | 'LINK_CREADOR_TEMA' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$ultimo_usuario_id ), |
Let's see if this works. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Tue Nov 20, 2012 9:51 am Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
If you want to simply remove the links you should remove the whole link, like this:
Code: | <td class="row1" align="center" height="28">
<span class="gensmall">{ultimos.TITULO}</span> |
and this:
Code: | {ultimos.CREADOR_TEMA} |
_________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
taller3d Board Member
Joined: 18 Nov 2012
Posts: 15
|
Posted: Tue Nov 20, 2012 3:54 pm Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
hmm .. I did not understand, Willy
latter change you say, but what else?
thanks _________________
Code: | http://www.elrincondelpoeta.net/forox/
Hosting: deprived
Mods installed: last post and other
|
|
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Tue Nov 20, 2012 4:15 pm Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
This is what I tried to tell you before.
Make the following changes in ultimos.php:
AFTER
Code: | $ultimo_usuario=$ultimo_usuario['username']; |
ADD
Code: | $ultimo_usuario_id=$ultimo_usuario['user_id']; |
CHANGE
Code: | 'LINK_AUTOR_ULTIMO' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$ultimo_usuario ), |
to
Code: | 'LINK_AUTOR_ULTIMO' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$ultimo_usuario_id ), |
CHANGE
Code: | 'LINK_CREADOR_TEMA' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$assoc["username"] ), |
to
Code: | 'LINK_CREADOR_TEMA' => append_sid( "profile.$phpEx?mode=viewprofile&u=".$ultimo_usuario_id ), |
Try it to see if it works. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
taller3d Board Member
Joined: 18 Nov 2012
Posts: 15
|
Posted: Tue Nov 20, 2012 4:24 pm Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
ok.. i make this change, but the file ultimos.tpl ?
in the ultimos.tpl i make a change,
I erased the links
ultimos.tpl ¿to do with this?
_________________
Code: | http://www.elrincondelpoeta.net/forox/
Hosting: deprived
Mods installed: last post and other
|
|
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Tue Nov 20, 2012 4:27 pm Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
Do not erase the links in ultimos.tpl. _________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
taller3d Board Member
Joined: 18 Nov 2012
Posts: 15
|
Posted: Tue Nov 20, 2012 7:36 pm Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
no Willy, no work of this way,,,,
already tried that way but it does not work, get the error - Not Found -
I think we will leave as is,
at least it does not give the error 404
thank you very much for your support, sincerely
regards ! _________________
Code: | http://www.elrincondelpoeta.net/forox/
Hosting: deprived
Mods installed: last post and other
|
|
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Wed Nov 21, 2012 4:12 am Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
If you want to simply remove the links you should remove the whole link, like this:
Code: | <td class="row1" align="center" height="28">
<span class="gensmall">
{ultimos.CREADOR_TEMA}
</span> |
Do not do it like:
Code: | <td class="row1" align="center" height="28">
<span class="gensmall">
<a href="">
{ultimos.CREADOR_TEMA}
</a> </span> |
_________________ phpBB2 will never die, I hope! |
|
Back to top |
|
|
taller3d Board Member
Joined: 18 Nov 2012
Posts: 15
|
Posted: Wed Nov 21, 2012 4:36 pm Post subject: Re: Hello, Me New. Problem whit a MOD. |
|
|
thank you very much Willy, do what I say ... insurance will be fine.
greetings and thank you very much again _________________
Code: | http://www.elrincondelpoeta.net/forox/
Hosting: deprived
Mods installed: last post and other
|
|
|
Back to top |
|
|
|
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0753 seconds using 16 queries. (SQL 0.0153 Parse 0.0010 Other 0.0590) |
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com
|
|