Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-30-2012, 10:56 PM
stoute stoute is offline
 
Join Date: May 2010
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default modiication help

I made this and got it to work for all of a couple minutes then all of a sudden it stopped showing up...

https://vborg.vbsupport.ru/showthread.php?t=287287

Here is the code and modifications etc. Please help. I can't figure out where I went wrong.

It stopped working when I deleted an unused profile field (unrelated to this)
Reply With Quote
  #2  
Old 08-31-2012, 12:19 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

{vb:raw post.B}" TARGET="_blank"
At b and c you seem to have an extra space just before TARGET not sure if that is the main problem have not checked all coding yet if I notice anything else wil post unless someone else points it out
Reply With Quote
  #3  
Old 08-31-2012, 12:34 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.
Reply With Quote
  #4  
Old 08-31-2012, 01:17 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.
It's his mod lol
Reply With Quote
  #5  
Old 08-31-2012, 01:36 AM
stoute stoute is offline
 
Join Date: May 2010
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes it is mine, lol.

I wrote it all and it worked perfect. Only until after I posted the tutorial did it start NOT working. Showed the links in postbit and everything. Now it doesn't show anything.

I'll look at removing the extra space and see if that fixes it.

--------------- Added [DATE]1346382318[/DATE] at [TIME]1346382318[/TIME] ---------------

Quote:
Originally Posted by ForceHSS View Post
{vb:raw post.B}" TARGET="_blank"
At b and c you seem to have an extra space just before TARGET not sure if that is the main problem have not checked all coding yet if I notice anything else wil post unless someone else points it out
No joy. I removed the extra space and updated the code and it still doesn't pull up. I even removed the

<vb:if condition="is_member_of($bbuserinfo, X, Y)">

option to see if maybe it wasn't pulling up the usergroup info properly.

I have also pulled the: <vb:if condition="$post['A']"> to see if it would at least show up. It does show up the links, but only the base link. ie. http://twitter.com/
so it doesn't seem to be recognizing the profile field name...

for example the code below should show up IF the user has a twitter username (or anything) in field5 in their user profile.

<!-- Twitter -->
<vb:if condition="$post['field5']">
<li class="left">
<a href="http://twitter.com/{vb:raw post.field5}" TARGET="_blank" class="siteicon_twitter">Twitter</a>
</li>
</vb:if>

The link that would show up would be [http://twitter.com/[what ever the user put into that field]. However even when I remove the first <vb:if condition..> it still only gives me the link of http://twitter.com/

Is the code actually incorrect or am I looking at this incorrectly? All the other mods that use similar code or <vb:if...> statements all seem to work... even one using the same field name works. Proven that the fieldname works the below code placed inside the postbit_legacy template works perfect...

<!-- Twitter -->
<vb:if condition="$post['field5']">
<center><a href="http://twitter.com/{vb:raw post.field5}" class="twitter-follow-button">Follow @{vb:raw post.field5}</a></center>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
</vb:if>
<!-- Twitter -->



--------------- Added [DATE]1346384659[/DATE] at [TIME]1346384659[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.
I'm sorry I didn't mean to post it into the wrong place I just read the description of this forum and it says "template modifications"

Quote:
vB4 Design and Graphics Discussions (2 Viewing)
Discuss anything related to creating vBulletin styles, graphics, [bold]template editing[/bold], etc.
Can you move it so I can get the support or should I repost this to the other forum?
Reply With Quote
  #6  
Old 08-31-2012, 03:08 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would just report then maybe he will help
Reply With Quote
  #7  
Old 08-31-2012, 03:25 AM
stoute stoute is offline
 
Join Date: May 2010
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

repost it is...

repost link:
https://vborg.vbsupport.ru/showthrea...92#post2361392
Reply With Quote
  #8  
Old 08-31-2012, 06:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
It's his mod lol
I think I need new glasses!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:48 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.04210 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete