vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - WebTemplates 3.7.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=186644)

Logician 01-20-2011 11:23 AM

Quote:

Originally Posted by Shanj (Post 2151887)
I don't know how you did that! I can use colour with <font> tags but I'm trying to create pages my staff can add notes to. They don't do html.
Tags in brackets - bbcode? will be a barrier - they'll find it slow to apply, probably make mistakes, and find it generally unfamiliar.
I never noticed the WYSWYG editor on VB doesn't have a font colour button.

Please see here: admin cp/vb options/bbcode options/Allow Color BBCode

It should be off for you.

Shanj 01-20-2011 11:47 AM

Quote:

Originally Posted by Logician (Post 2151904)
Please see here: admin cp/vb options/bbcode options/Allow Color BBCode

It should be off for you.

I'm so sorry this isn't really your work to look after this. Thank you.
But I checked and ALL the boxes are ticked in vboptions.
I don't see buttons for colour OR size, on that forum of my own, or here.

Logician 01-20-2011 03:41 PM

Quote:

Originally Posted by Shanj (Post 2151909)
I'm so sorry this isn't really your work to look after this. Thank you.
But I checked and ALL the boxes are ticked in vboptions.
I don't see buttons for colour OR size, on that forum of my own, or here.

Actually I see them both here and in your forum too. Please make sure you set "Full WYSISYG editing" in your forum options (as a user):
https://vborg.vbsupport.ru/profile.php?do=editoptions

If you still can't see, I'd think it is a browser issue. You can try to use with a different browser. See my screenshot how they look in firefox

Spinball 05-13-2011 01:51 PM

Hello Logician. I have set up a webquery to display a list of members who are in an exclusive secondary usergroup. I want to display their avatars.
Is there a way to get a link to each user's Avatar image using a webquery so I can display it in a webtemplate?
I'm using vB 3.8.
Thanks.

Logician 05-15-2011 02:26 PM

Quote:

Originally Posted by Spinball (Post 2195106)
Hello Logician. I have set up a webquery to display a list of members who are in an exclusive secondary usergroup. I want to display their avatars.
Is there a way to get a link to each user's Avatar image using a webquery so I can display it in a webtemplate?
I'm using vB 3.8.
Thanks.

Sorry I can't think of a way to do it without hacking

CodeRed 06-02-2011 03:39 PM

Question.

I have a Logician's Webtemplates Mod template with PHP code embedded in it from another mod and I would like to add the Cyb Chatbox in that custom template page as well.

The call to code is "$cybchatbox"

I'm willing to pay $25 via paypal gift if someone can send me the code to get this web template working with both included mods.

PM me if interested. Thanks a ton guys in advance for your help

Logician 06-02-2011 06:33 PM

Quote:

Originally Posted by CodeRed (Post 2202720)
Question.

I have a Logician's Webtemplates Mod template with PHP code embedded in it from another mod and I would like to add the Cyb Chatbox in that custom template page as well.

The call to code is "$cybchatbox"

I'm willing to pay $25 via paypal gift if someone can send me the code to get this web template working with both included mods.

PM me if interested. Thanks a ton guys in advance for your help

I didn't dig deep but from the first impression, it looks like, it might work if you add "$cybchatbox" into your webtemplate (or webtemplate theme if its using one).

If it is a php webtemplate then code can be:
echo $cybchatbox;

Give it a shot.

CodeRed 06-02-2011 06:58 PM

Thanks, the template is a php parses template. I tried your suggestions and it just displayed the text when I viewed the page and not the chatbox

It just displayed:

echo ;

I also tried just "$cybchatbox" in the template and in the theme itself and no go...

Thanks again for the suggestions though, I do appreciate it.

Logician 06-02-2011 09:57 PM

Quote:

Originally Posted by CodeRed (Post 2202799)
Thanks, the template is a php parses template. I tried your suggestions and it just displayed the text when I viewed the page and not the chatbox

It just displayed:

echo ;

I also tried just "$cybchatbox" in the template and in the theme itself and no go...

Thanks again for the suggestions though, I do appreciate it.

If it is displaying "echo ;" in a php parsed template, it means the section that you added this line is out of PHP scope (= you added it in a HTML part which began after ?>)

Try to add the line in a PHP part or if you want to keep it where it is try to include it with PHP syntax, ie:

<? echo $cybchatbox; ?>

Spinball 09-14-2011 11:13 AM

Can I do this?
HTML Code:

<tr>
 <td class="$alternate" align="left" VALIGN="TOP"><div class="smallfont">$queryqueryresult) <a href='http://www.avforums.com/forums/member.php?$session[sessionurl]u=$WQfield[userid]'>$WQfield[username]</a></div></td>
 <td class="$alternate" VALIGN="TOP"><div class="smallfont">$WQfield[email]</div></td>
<td class="$alternate" VALIGN="TOP"><div class="smallfont">$WQfield[title]</div></td>
<td class="$alternate" VALIGN="TOP"><div class="smallfont">$WQfield[joined]</div></td>
<td class="$alternate" VALIGN="TOP"><div class="xsmallfont">$WQfield[ipaddress]<br /><? echo(geoip_country_name_by_addr($gi, $WQfield[ipaddress])); ?></div></td>
</tr>

in the Query Result Row of a WebQuery? Note the php element
PHP Code:

<? echo(geoip_country_name_by_addr($gi, $WQfield[ipaddress])); ?>

It's not working. I was wondering whether it was at all possible.
Thanks


All times are GMT. The time now is 08:36 PM.

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.01994 seconds
  • Memory Usage 1,756KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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