Search found 58 matches

by Nerdy0
Thu Jun 06, 2013 6:26 pm
Forum: [3.0.x] MODs in Development
Topic: [RC1] Youtube Gallery
Replies: 273
Views: 65483

Re: [DEV] Youtube Gallery

Hello, I have a problem... [phpBB Debug] PHP Warning: in file /video.php on line 63: DOMDocument::load(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 [phpBB Debug] PHP Warning: in file /video.php on line 63: DOMDocument::load(http://gdata.youtube.com/feeds/api/videos...
by Nerdy0
Thu Mar 14, 2013 11:17 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Date to time stamp
Replies: 2
Views: 256

Re: Date to time stamp

I have found the answer, thank you.
by Nerdy0
Thu Mar 14, 2013 9:53 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Date to time stamp
Replies: 2
Views: 256

Date to time stamp

Hello,

Is there any function to get a data timestamp from date?

Example: I have date 11. 9. 2011 20:00 and I need 1315789200...
by Nerdy0
Sun Feb 24, 2013 12:43 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Random list limit
Replies: 6
Views: 144

Re: Random list limit

8-) Very nice. Thank You. :)
by Nerdy0
Sun Feb 24, 2013 12:29 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Random list limit
Replies: 6
Views: 144

Re: Random list limit

$user_youtube = ''; $sql = "SELECT user_youtube, username   FROM " . USERS_TABLE . "   ORDER BY RAND()"; $result = $db->sql_query_limit($sql, 3);  while ($row = $db->sql_fetchrow($result)) {     $user_youtube .= '<li><a class="right2" href="http://www.youtube.com/user/' . $row['user_youtube'] . '" ...
by Nerdy0
Sat Feb 23, 2013 3:33 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Random list limit
Replies: 6
Views: 144

Re: Random list limit

Still does not work. My mistake here, I have in code:

Code: Select all

$template->assign_vars(array(
  'USER_TUBE_CHANNEL'         =>  $user_youtube,
));
$last_tube is something else.
by Nerdy0
Sat Feb 23, 2013 12:27 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Random list limit
Replies: 6
Views: 144

Random list limit

Hello, Each user can in own profile add YouTube channel. I want to list random 3 YouTube fields from users table, but not empty fields. $user_youtube = ''; $sql = "SELECT user_youtube, username   FROM " . USERS_TABLE . "   ORDER BY RAND()   limit 0,3"; $result = $db->sql_query($sql); while ($row = $...
by Nerdy0
Sat Feb 16, 2013 11:54 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Regular expression in ucp
Replies: 7
Views: 370

Re: Regular expression in ucp

So easy. Thank you. :)
by Nerdy0
Fri Feb 15, 2013 11:32 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Regular expression in ucp
Replies: 7
Views: 370

Re: Regular expression in ucp

I used Google - did not help me. :?

Ok. Profiles have got Youtube and Facebook fields. YT have allowed in username only A-Z a-z 0-9 (-) (_) and FB A-Z a-z 0-9 (.). I need the same...

...and I think this part array('match', true, ' ')), solve it.
by Nerdy0
Fri Feb 15, 2013 4:53 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Regular expression in ucp
Replies: 7
Views: 370

Re: Regular expression in ucp

I need to modify the code #^[0-9]+$#i for allow only A-Z a-z 0-9 (.) and A-Z a-z 0-9 - _ for another input.
by Nerdy0
Thu Feb 14, 2013 12:13 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Regular expression in ucp
Replies: 7
Views: 370

Re: Regular expression in ucp

I mean editing profile (includes/ucp/ucp_profile.php)

For example:

Code: Select all

            'icq'            => array(
                            array('string', true, 3, 15),
                            array('match', true, '#^[0-9]+$#i')),
by Nerdy0
Wed Feb 13, 2013 10:23 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Regular expression in ucp
Replies: 7
Views: 370

Regular expression in ucp

Hello,

please help me with match regular expression in UCP form. In first input I want allow only: A-Z a-z 0-9 (.). In second input: A-Z a-z 0-9 - _
by Nerdy0
Wed Dec 21, 2011 12:32 pm
Forum: [3.0.x] MOD Requests
Topic: Change Post Time
Replies: 6
Views: 446

Re: Change Post Time

Thank you. :) :)
by Nerdy0
Tue Dec 20, 2011 12:52 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Form
Replies: 4
Views: 418

Re: Form

:? Lot of thanks, Jack! :))
by Nerdy0
Tue Dec 20, 2011 12:51 pm
Forum: [3.0.x] MOD Requests
Topic: Change Post Time
Replies: 6
Views: 446

Change Post Time

[ABD] Change Post Time

Can someone update the mod for 3.0.9? 8-)

Go to advanced search