vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Empty Profile Field Notification! 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=108843)

FleaBag 08-13-2006 04:39 PM

Is this default in 3.6.0 now?

robert_2004 11-02-2006 03:34 AM

Quote:

Originally Posted by arossphoto
I just installed this and everything seemed to be working fine, until I realized the right column that I placed in my forums page using vBadvanced CPMS was gone. I removed your code from FORUMHOME and the right column magically reappeared.

I'd really like to get this working and don't want to give up my right column, so if you have any advice I'd really appreaciate it. If it helps, here's the instructions from the vBadvanced manual that I used and they have nothing to do with the FORUMHOME template.

http://www.vbadvanced.com/membersare...tid=4&pageid=6

Thanks


It's because this mod is poorly coded.
The code SHOULD BE
Code:

<!-- Empty Profile Field Notification by Stangsta -->
<!-- Enter the IDs for guest usergroups, and any other usergroups you don't want to show this to, below. -->
<if condition="in_array($bbuserinfo['usergroupid'], array(1,34,41,45))">
  <!-- Anything here will be displayed to guests and above usergroups -->
<else />
<if condition="$bbuserinfo[field2]==''">
        <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
        <tr>
                <td class="tcat" colspan="5">
                <strong><a href="/forums/profile.php?do=editprofile"><font color="#FF9933">ATTENTION:</font> You have not entered your Suburb into your profile.</a></strong>
                </td>
        </tr>
        </table>
</if>

<!-- / Empty Profile Fields Notification by Stangsta -->

the table wasn't closed on the original version.

robert_2004 11-02-2006 03:36 AM

on another note, does anyone know how to get this to work on non forum pages, like vBa CMPS index?
i need to call the userprofile variables from somewhere...


All times are GMT. The time now is 12:10 AM.

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.01465 seconds
  • Memory Usage 1,727KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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