vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Welcome Panel Hack V1.1 [vB3.0.x] (https://vborg.vbsupport.ru/showthread.php?t=66969)

Viks 04-13-2005 10:46 PM

ne1?

teedizz 04-14-2005 03:00 AM

I have installed this hack but how do I edit the welcome pm to new users when the register for my forums?

Viks 04-17-2005 02:50 PM

Quote:

Originally Posted by Viks
I installed the mod.. works fine. Had some issues with CMPS with avatars and i was able to resolve most myself by editing the gif location except 1.

1. Members with avatars cannot see any avatar in CMPS homepage but they show up on forumshome

2. I would like to moify the navbar template for NON-REGISTERED members
I want to have 3 <TD> tags... 1 for image, 1 for login boxes and 1 for my custom message. (no "forum stats")


How can I achieve that? I was playing with <IF> <else> statement and the template kept screwing on me...

can someone else me with that?

much appreciated and thanks for the mod :up:

I will like to suggest to please update the install instructions with all the fixes - it will help new installers a great deal!


help

weaver 04-18-2005 02:34 PM

Quote:

Originally Posted by Polo
I got the same issua as nathanaus, once I leave the cmps front page my avatars is replaced by "image.php?u=5&dateline=5764864890"

Having the same issue here. I'm also wondering if anyone has modified the hack to auto-resize avatars.

Viks 04-22-2005 08:34 PM

Hi, I am posting my questions again.. hope I get some help this time around..SmasherMaster.

1. Members with avatars cannot see their avatar in CMPS homepage.

2. I would like to moify the navbar template for NON-REGISTERED members
I want to have 3 <TD> tags... 1 for image, 1 for login boxes and 1 for my custom message. (no "forum stats")
How can I achieve that? I was playing with <IF> <else> statement and the template kept messing up..

can someone else me with that?

Brainwrek 04-27-2005 04:27 AM

Quote:

Originally Posted by Viks
Hi, I am posting my questions again.. hope I get some help this time around..SmasherMaster.


1. Members with avatars cannot see their avatar in CMPS homepage.

2. I would like to moify the navbar template for NON-REGISTERED members
I want to have 3 <TD> tags... 1 for image, 1 for login boxes and 1 for my custom message. (no "forum stats")
How can I achieve that? I was playing with <IF> <else> statement and the template kept messing up..

can someone else me with that?

VIKS, I would like to know the answer to this as well. I have the *exact* same problem. :ermm:

Actually...one workaround I thought about for #1 is to put the CPMS index page in the forums directory (perhaps portal.php) and then make a permanent redirect from your root index to the CPMS page. It's a little messy and could cause other issues, but it's a thought anyway.....

smacklan 04-28-2005 12:30 PM

Does anyone have an answer to the avatar issue. I resolved the guest avatar problem on the cmps main page, but my registered users avatar's do not appear and this sucks!! I like the hack but will uninstall if a I can't resolve this!!

kall 04-28-2005 09:40 PM

Maybe if you were a little more descriptive in your problem, people aren't mind readers.

When you say 'avatars do not appear', do you mean the code is not there in the HTML, the avatar shows up as a little red x, or what?

If it is the latter, what is the path that the page is trying to find an avatar at?

smacklan 04-29-2005 01:31 PM

Quote:

Originally Posted by kall
Maybe if you were a little more descriptive in your problem, people aren't mind readers.

When you say 'avatars do not appear', do you mean the code is not there in the HTML, the avatar shows up as a little red x, or what?

If it is the latter, what is the path that the page is trying to find an avatar at?

Sorry, thought it was described thoroughly in previous posts. The link appears broken on the cmps page only for the registered user. There is a red x but the path is correct as far as I can tell. Here is the code in the navbar template:

PHP Code:

<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if 
condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'adv_index'">
<
table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"
<
tr>
<!-- 
Main Welcome Panel Block [] Begin -->
    <
td class="alt1" valign="middle" align="center">
    <if 
condition="$bbuserinfo[userid]!=0">
    <!-- 
Avatar Cell [] Begin -->
    <if 
condition="THIS_SCRIPT == 'adv_index'">
    <
a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurlborder="0"></a>
    <else />
    {
$welcome_avatar}
    </if>
    <!-- 
Avatar Cell [] End -->
    </
td>

    <
td class="alt2" nowrap="nowrap" style="padding:3px">
    <!-- 
Your Stats [] Begin -->
    <
div class="smallfont"><b>Your Info:</b><br />User: <a href="member.php?{$session['sessionurl']}u={$bbuserinfo['userid']}title="Go To Your Profile">{$bbuserinfo['username']}</a><br />
    <
a href="search.php?{$session['sessionurl']}do=getnew">New Posts</a>: {$welcome_new_posts['new_posts']}<br />New Threads: {$welcome_new_topics['new_topics']}<br />
    <if 
condition="$show[pmstats]"><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if></div>
    <!-- 
Your Stats [] End -->
    <else />
    <!-- 
Guest [] Begin -->
            <!-- 
Avatar --> 
        <
td class="alt1" valign="middle" align="center"
        <
a href="register.php?ID=&amp;"><img src="http://strengthinthelord.com/forum/images/avatars/guestavatar.gif" border="0"></a
        </
td
        <!-- / 
Avatar --> 

        <
td class="alt2" nowrap="nowrap" style="padding:0px"
        <!-- 
login form --> 
        <
form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)"
        <
script type="text/javascript" src="clientscript/vbulletin_md5.js"></script
        <
table cellpadding="0" cellspacing="3" border="0"
        <
tr
        <
td class="smallfont">User Name</td
        <
td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>

        </
tr
        <
tr
        <
td class="smallfont">Password</td
        <
td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td
        </
tr
        <
tr
        <
td class="smallfont" colspan="2" nowrap="nowrap"
        <
label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me?</label
        <
input type="submit" class="button" value="Log in" tabindex="4" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" /> 
        </
td>
        </
tr
        </
table
        <
input type="hidden" name="ID" value="" /> 
        <
input type="hidden" name="s" value="" /> 
        <
input type="hidden" name="do" value="login" /> 
        <
input type="hidden" name="forceredirect" value="1" /> 
        <
input type="hidden" name="vb_login_md5password" /> 
        </
form
        <!-- / 
login form --> 
        </
td>
    <!-- 
Guest [] End --></if>
    </
td>
    <
td class="alt1" valign="top" nowrap="nowrap">
    <!-- 
Forum Stats [] Begin -->
<
div class='smallfont'><b>Forum Stats:</b><br />Threads$welcome_topics<br />Posts$welcome_posts<br />Members$welcome_members<br />
<if 
condition="THIS_SCRIPT == 'adv_index'">
Welcome to our newest member
<
a href="member.php?$session[sessionurl]u=$newuserid">$newusername</a>
<else />
<
phrase 1="member.php?$session[sessionurl]u=$newuserid2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</if></
div>
    <!-- 
Forum Stats [] End -->
    </
td>
<!-- 
Main Welcome Panel Block [] End -->
</
tr>
</
table>
<else />
<!-- / 
Welcome Panel Hack V1.1 [] Created By SmasherMaster --> 

As you can see, I pointed straight to the guest image to correct that issue.

Brainwrek 04-30-2005 03:01 AM

Quote:

Originally Posted by smacklan
Does anyone have an answer to the avatar issue. I resolved the guest avatar problem on the cmps main page, but my registered users avatar's do not appear and this sucks!! I like the hack but will uninstall if a I can't resolve this!!

For whatever reason, the $avatarurl tag is not populating the avatar URL. I'm investigating.......

It seems to me this hack is full of holes. :ermm:


All times are GMT. The time now is 02:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01435 seconds
  • Memory Usage 1,813KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete