tqvn2004 |
12-20-2005 07:27 PM |
Quote:
Originally Posted by Scotty2k
@FleaBag .. thx 4 publishing our modification here.. more user more ideas :-)
I tried to fix the member.php problem ... here is my result:
Find in the template forumhome_vbshout_shout:
PHP Code:
<if condition="$Shout[s_by]">
<a href='member.php?{$session['sessionurl_q']}u={$Shout['s_by']}'>
</if>
{$Shout['username']}<if condition="$Shout[s_by]"></a>
</if>:</if>
and replace it with
(change YOUR-FORUM-PATH/ to your forumfolder!!!
example: forum/member.php?{$session...... )
PHP Code:
<if condition="$Shout[s_by]">
<a href='YOUR-FORUM-PATH/member.php?{$session['sessionurl_q']}u={$Shout['s_by']}'>
</if>
{$Shout['username']}<if condition="$Shout[s_by]"></a>
</if>:</if>
If you want to use the vbshout on your forum pages and in vbadvanced the template must be changed to full path to your forum .. see it in next Code-BOX
PHP Code:
<if condition="$Shout[s_by]">
<a href='http://www.YOURDOMAIN.com/YOUR-FORUM-PATH/member.php?{$session['sessionurl_q']}u={$Shout['s_by']}'>
</if>
{$Shout['username']}<if condition="$Shout[s_by]"></a>
</if>:</if>
I could not test it yet, but it should work .. please give us feedback, perhaps FleaBag can edit his first Thread with this changes.
|
This does the fix! However, it is better to use Vbulletin variable for the forum path, $vbulletin->options[bburl], rather than using direct link:
PHP Code:
<if condition="$Shout[s_by]">
<a href='{$vbulletin->options[bburl]}/member.php?{$session['sessionurl_q']}u={$Shout['s_by']}'>
</if>
{$Shout['username']}<if condition="$Shout[s_by]"></a>
</if>:</if>
I have tested this code, and it should work in both cases!
|