View Single Post
  #1142  
Old 10-15-2007, 08:40 PM
Strike3ForumsMH Strike3ForumsMH is offline
 
Join Date: May 2005
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bc3tech View Post
nowhere in the readme file are instructions on how to manually add the relevant template changes.

these automated template changes work on a search / replace algorithm which doesn't work if you've edited the portions of templates it's trying to find to replace. Thus, it's not working on a lot of my pages.

please advise.

also, with auto template edits on, or with them off and the $popup code entered in my navbar, the Profiles menu will not show up on my vBa CMPS portal page.
bc3tech, the instructions are indeed within the readme file for the zointsprofile-2.1.4 zip, I just checked. But perhaps the zip is not working with the extractor you have. Either way, I have copied the instructions from the readme that should help you (it also addresses the vB Advanced issue.)

Code:
2. Template Change
============================================
These template edits are only necessary if the automatic template mods don't work. You can
disable the automated template edits in the "Zoints Profile Options" of the vBulletin Options
area.


If you do not see a popup window or a link to Zoints in the navbar (next to the quick links),
then please perform the following edit:

Note: If your custom style has the navbar inside the 'header' template, then look for the 'FIND'
text in the 'header' template instead. If you cannot find the the corresponding HTML in the header
template, contact the author of your style for information on how to integrate this template
edit.

Edit template: navbar
===========================================================================
 FIND
===========================================================================
			<if condition="$show['member']">
				<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
			</if>
===========================================================================
 ADD BELOW
===========================================================================
			$zointsprofile_popup_navbar
===========================================================================

===========================================================================


The zoints profile link in the postbit under the custom title (when enabled) doesn't show up:
(edit template 'postbit_legacy' or 'postbit' depending on your setup)

Edit template: postbit
===========================================================================
 FIND
===========================================================================
					<div>
						$vbphrase[posts]: $post[posts]
					</div>
===========================================================================
 ADD BELOW
===========================================================================
					<if condition="$show['zointsprofile']">
						<div><a href="$vboptions[zointsprofile_zurl]?id=$post[userid]" target="_blank">$vboptions[zointsprofile_postbit]</a></div>
					</if>
===========================================================================

===========================================================================


Edit template: postbit_legacy
===========================================================================
 FIND
===========================================================================
				<div>
					$vbphrase[posts]: $post[posts]
				</div>
===========================================================================
 ADD BELOW
===========================================================================
					<if condition="$show['zointsprofile']">
						<div><a href="$vboptions[zointsprofile_zurl]?id=$post[userid]" target="_blank">$vboptions[zointsprofile_postbit]</a></div>
					</if>
===========================================================================

===========================================================================




The zoints options do not show up in the UserCP > Edit Options page

Edit template: modifyoptions
===========================================================================
 FIND
===========================================================================
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
	</div>
===========================================================================
 ABOVE, ADD
===========================================================================
	$zointsoptions
===========================================================================

===========================================================================

3. vBa CMPS
============================================
If you are running vBa CMPS, add the following under "Portal Output Variables".
	AdminCP > vBa CMPS > Default Settings > Portal Output Global Variables
Add on a new line:

===========================================================================
zointsprofile_popup_navbar
===========================================================================
- Reid
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01384 seconds
  • Memory Usage 1,800KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (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