![]() |
yes mysqli
|
How to call a custom user profile field in the chatbox template?
HTML Code:
<img src="$stylevar[imgdir_misc]/$post[field8].gif" alt="$post[field8]" /> |
Quote:
Quote:
To try to solve this problem, could you remove the $db->hide_errors(); and $db->show_errors(); from the product files and do the import. Then tell me if it shows any new error ? Quote:
The userinfo is not an available variable in the templates ;) You must use the $bbuserinfo variable instead, so it would be for you: $bbuserinfo[field8]. |
IE6.
I already have the fix and it works with firefox: PHP Code:
|
Oh I see ... this is quite more complicated !
For this you would need to edit the mgc_chatbox.php file to retrieved in the $_POST['do'] == 'ajax_refresh_chat' part :) You must modify the sql request : PHP Code:
PHP Code:
PHP Code:
PHP Code:
Then you can use $val[field8] in the mgc_chatbox_bit template. |
Thanks :)
Now i have gender icons near the usernames: https://vborg.vbsupport.ru/ Screenshot I also moved the message section to the top. You can make it's location selectable on the next version. |
Thx VBDev, this looks great. I'll wait for the update to install, since there was some good suggestions. But voted for it in MOTM poll :)
|
Quote:
Don't worry, I am going to make the position of the editor part selectable for the next version. Quote:
|
the 1. error was thet the tables and columns existed:D from the 1. install lol
the 2. was here: PHP Code:
|
is it possible to have more rooms or just team and normal?:D
another request: if the sitebackground is black, you cant see the help^^ because the helptext is black to |
All times are GMT. The time now is 06:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|