Search found 95 matches

by Татьяна5
Fri Jul 25, 2014 2:55 pm
Forum: Extensions in Development
Topic: [CDB] Advanced BBCode Box 3.1
Replies: 220
Views: 49584

Re: [BETA] Advanced BBCode Box 3.1

After disabling the extension in the tooltips of bbkode shown language variables
2014-07-25_183530.gif
2014-07-25_183530.gif (3.37 KiB) Viewed 1075 times
Maybe automatically hide added bbkodes when extension is disabled?
by Татьяна5
Tue Jun 24, 2014 3:06 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: skip multiple sessions for one user
Replies: 6
Views: 305

Re: skip multiple sessions for one user

If the friend is not online, then query SELECT session_user_id FROM ' . SESSIONS_TABLE . ' WHERE session_time > ' . $time . ' AND session_user_id = ' . $friends_id returns an empty result If result is empty - $row['session_user_id'] and $online_friends_id are also empty. And the function online_f_na...
by Татьяна5
Tue Jun 24, 2014 8:07 am
Forum: [3.0.x] MOD Writers Discussion
Topic: skip multiple sessions for one user
Replies: 6
Views: 305

Re: skip multiple sessions for one user

raminr1363 wrote:

Code: Select all

SELECT username,username_clean,user_avatar,group_id FROM phpbb_users WHERE user_id = 
$row['session_user_id'] is empty. In the code there is no check, the variable is empty or not.
It is not a question about phpBB, it's a question about php
by Татьяна5
Sat Jun 21, 2014 8:57 am
Forum: [3.0.x] MOD Requests
Topic: Link to open photobucket
Replies: 2
Views: 748

Re: Link to open photobucket

where to start with something like that?
Re: photobucket's advanced plugin : does it work for you ?
by Татьяна5
Thu Jun 19, 2014 6:11 am
Forum: [3.0.x] Styles Support & Discussion
Topic: Styling "View active topics" "View new posts" Links
Replies: 6
Views: 540

Re: Styling "View active topics" "View new posts" Links

make changes to .searchbar Not .searchbar Use .searchbar a (add this to stylesheet.css ) Or do I make a new class (like .myclass) in the stylesheet with the desired font color, size and style? Then refer to that class in the HTML in a new div under .searchbar? Or so you can Only under the .searchba...
by Татьяна5
Wed Jun 18, 2014 4:24 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: return sql result as array
Replies: 8
Views: 739

Re: return sql result as array

i don't know how to call such code in my template Another example function my_func($my_var) { $my_array = array( 'index_one' => 'first', 'index_two' => $my_var, 'index_three' => 5, ); return $my_array; } To template $returned_array = my_func('abc'); //function is called $template->assign_vars(array...
by Татьяна5
Wed Jun 18, 2014 3:51 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: return sql result as array
Replies: 8
Views: 739

Re: return sql result as array

Example (code from the includes/functions.php ) function obtain_users_online($item_id = 0, $item = 'forum') { //some code $online_users = array( 'online_users' => array(), 'hidden_users' => array(), 'total_online' => 0, 'visible_online' => 0, 'hidden_online' => 0, 'guests_online' => 0, ); //some cod...
by Татьяна5
Wed Jun 18, 2014 3:21 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: return sql result as array
Replies: 8
Views: 739

Re: return sql result as array

1. $f_username => $row['username'], Variable $f_username (or other variable) can not be an array index 2. If the query returns a nonempty result, the function not returns an array. There are no commands return 3. $mysql->close(); The phpBB has not class mysql. Is it your class? 4. Where the function...
by Татьяна5
Wed Jun 18, 2014 12:10 pm
Forum: [3.0.x] Support Forum
Topic: Custom BBCode not working
Replies: 10
Views: 1218

Re: Custom BBCode not working

Code: Select all

<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
Not enough of this line. Where in the code - is on the screenshot
by Татьяна5
Wed Jun 18, 2014 11:56 am
Forum: [3.0.x] Support Forum
Topic: Custom BBCode not working
Replies: 10
Views: 1218

Re: Custom BBCode not working

2014-06-18_155547.gif
2014-06-18_155547.gif (34.84 KiB) Viewed 1184 times
by Татьяна5
Wed Jun 18, 2014 7:21 am
Forum: phpBB Discussion
Topic: Membership Merging?? Is it possible?
Replies: 6
Views: 789

Re: Membership Merging?? Is it possible?

The script combines two phpBB boards. For other CMS it possibly can take as an example
(Link is not sent, waiting for an reply OP)
by Татьяна5
Tue Jun 17, 2014 5:04 pm
Forum: phpBB Discussion
Topic: Membership Merging?? Is it possible?
Replies: 6
Views: 789

Re: Membership Merging?? Is it possible?

Similar script already has. It transfers forums, topics, posts and users.

The script is located in Russian forum, post here links to other forums I realized that undesirable... If the script is suitable (for the description), I can post a link in a PM
by Татьяна5
Tue Jun 17, 2014 3:59 pm
Forum: [3.0.x] Styles Support & Discussion
Topic: Styling "View active topics" "View new posts" Links
Replies: 6
Views: 540

Re: Styling "View active topics" "View new posts" Links

Firefox + firebug...
2014-06-17_195828.gif
2014-06-17_195828.gif (32.36 KiB) Viewed 428 times
by Татьяна5
Tue Jun 17, 2014 2:15 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: if use online
Replies: 4
Views: 448

Re: if use online

Look includes/functions.php: page_header(), obtain_users_online() and obtain_users_online_string()

Go to advanced search