vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   modiication help (https://vborg.vbsupport.ru/showthread.php?t=287290)

stoute 08-30-2012 10:56 PM

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)

ForceHSS 08-31-2012 12:19 AM

{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

Lynne 08-31-2012 12:34 AM

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.

ForceHSS 08-31-2012 01:17 AM

Quote:

Originally Posted by Lynne (Post 2361363)
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

stoute 08-31-2012 01:36 AM

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 (Post 2361359)
{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 -->

:confused:

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

Quote:

Originally Posted by Lynne (Post 2361363)
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?

ForceHSS 08-31-2012 03:08 AM

I would just report then maybe he will help

stoute 08-31-2012 03:25 AM

repost it is... :)

repost link:
https://vborg.vbsupport.ru/showthrea...92#post2361392

Lynne 08-31-2012 06:31 PM

Quote:

Originally Posted by ForceHSS (Post 2361365)
It's his mod lol

I think I need new glasses! :)


All times are GMT. The time now is 05:06 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.01066 seconds
  • Memory Usage 1,736KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete