View Single Post
  #1  
Old 07-20-2018, 12:07 AM
Alice Alice is offline
 
Join Date: Mar 2013
Location: Great Lakes Area
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin 3 Request - Difficulty with Conflicting Templates

Hello,

So, I am having a difficulty when I attempted to massive re-write of the memberinfo template. After breaking down the entire template, I figured out it was the "memberinfo_block_visitormessaging" that was the root of the issue. So then I started breaking down that template and learned it was rooting in the "$block_data[pagenav]" variable.

The entire sequence of affected code is as follows:

Code:
<if condition="$show['inlinemod'] OR $block_data['pagenav']">
		<div class="alt2 block_row" id="visitor_message_tab_footer">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr valign="bottom">
				<if condition="$show['inlinemod']">
				<td class="smallfont" id="inlinemod_comment_controls">
					<div><label for="moderation_select_comments">$vbphrase[moderation]</label></div>
					<select id="moderation_select_comments" name="do">
						<if condition="$show['delete'] OR $show['undelete'] OR $show['approve']">
						<optgroup label="$vbphrase[option]" id="moderation_select_comments_optgroup">
							<if condition="$show['delete']">
								<option value="inlinedelete" id="inlinemod_comment_controls_delete">$vbphrase[delete_messages]</option>
							</if>
							<if condition="$show['undelete']">
								<option value="inlineundelete" id="inlinemod_comment_controls_undelete">$vbphrase[undelete_messages]</option>
							</if>
							<if condition="$show['approve']">
								<option value="inlineapprove" id="inlinemod_comment_controls_approve">$vbphrase[approve_messages]</option>
								<option value="inlineunapprove" id="inlinemod_comment_controls_unapprove">$vbphrase[unapprove_messages]</option>
							</if>
						</optgroup>
						</if>
						<optgroup label="____________________">
							<option value="clearmessage">$vbphrase[deselect_all_messages]</option>
						</optgroup>
					</select>
					<input type="submit" value="$vbphrase[go]" id="vmessage_inlinego" class="button" />
					<input type="hidden" name="s" value="$session[sessionhash]" />
					<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
					<input type="hidden" name="u" value="$userinfo[userid]" />
				</td>
				</if>
				<if condition="$block_data['pagenav']">
				<td class="smallfont" align="$stylevar[right]">
					$block_data[pagenav]
				</td>
				</if>
			</tr>
			</table>
		</div>
	</if>
The entire issue is that the "$block_data[pagenav]" is causing all drop down menu's to stop working. An example of affected drop down code is as follows:

Code:
				<span class="smallfont" style="font-family: tahoma, verdana, arial; font-size: 10px; padding-left: 3px; padding-right: 3px"> <img align="absmiddle" src="images/divider.gif" alt="" border="0" /> </span> <span id="usercptools" class="navbar" style="background: none"><a href="#usercptools">Options</a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script></span></if>

<!-- user cp tools menu -->
	<div class="vbmenu_popup" id="usercptools_menu" style="display:none" align="left">
		<table cellpadding="4" cellspacing="1" border="0" class="">

		<tr><td class="thead">Quick Links</td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="search.php?do=getdaily">Today's Posts</a></td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="forumdisplay.php?do=markread">Mark Forums Read</a></td></tr>

		<tr><td class="thead">Networking</td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="profile.php?do=buddylist">Contacts &amp; Friends</a></td></tr>
		
			<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="group.php">Social Groups</a></td></tr>
		
		
		

		<tr><td class="thead"><a href="usercp.php">User Control Panel</a></td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="profile.php?do=editsignature">Edit Signature</a></td></tr>

		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="profile.php?do=editavatar">Edit Avatar</a></td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="profile.php?do=editprofile">Edit Your Details</a></td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="profile.php?do=editoptions">Edit Options</a></td></tr>
		

		<tr><td class="thead">Miscellaneous</td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="private.php" rel="nofollow">Psychic Messages</a></td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="subscription.php" rel="nofollow">Subscribed Threads</a></td></tr>

		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="member.php?u=1249">Your Profile</a></td></tr>
		<tr><td class="inlinemod smallfont"><a style="text-decoration: none" href="online.php">Demonic Radar</a></td></tr>
		

		</table>
	</div>
	<!-- / user cp tools menu -->
Anyhow, if anyone is free to give me a little help and advise, I'd appreciate the kindness.

Thank you,

-Alice
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01274 seconds
  • Memory Usage 1,793KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete