Search found 85 matches

by hah
Mon Oct 11, 2010 5:00 pm
Forum: [3.0.x] MODs in Development
Topic: [RC] Quick user search with dropdown
Replies: 11
Views: 854

Re: [RC] Quick user search with dropdown

I will remake some things and reply again, just give me the gallery and the arcade to see the names.
by hah
Mon Oct 11, 2010 1:28 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Tools for development
Replies: 92
Views: 126468

Re: Tools for development

I use Notepad2 its cleaner than Notepad++ and I like to be cleaner and simpler.. :)
by hah
Mon Oct 11, 2010 1:25 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: whois online get by last_page
Replies: 6
Views: 286

Re: whois online get by last_page

Well this worked, but the online users aren't displaying really well. I had 3 online visitors at this page (me with IE,chrome,mozilla via ip so the session is other) and my code displayed them as Guests, but with chrome I was logged in with test account.In the viewonline on the index the test users ...
by hah
Mon Oct 11, 2010 11:49 am
Forum: [3.0.x] MOD Writers Discussion
Topic: whois online get by last_page
Replies: 6
Views: 286

Re: whois online get by last_page

The newest result from session_time is 10.10.10 8:27..

SELECT * FROM `phpbb_sessions` WHERE session_page like '%page.php%' ORDER BY session_time DESC
by hah
Mon Oct 11, 2010 11:14 am
Forum: [3.0.x] MOD Writers Discussion
Topic: whois online get by last_page
Replies: 6
Views: 286

Re: whois online get by last_page

You could look at session_time and assume that they are online for 5 minutes after that. Well, I can't understand what I exactly need to do.I tried using session_time, but when I just try to find my session in the database I can't. Select * from phpbb_sessions where session_page like '%page.php%' o...
by hah
Sun Oct 10, 2010 6:39 am
Forum: [3.0.x] MOD Writers Discussion
Topic: whois online get by last_page
Replies: 6
Views: 286

whois online get by last_page

Hello I have a case for viewing page.php in viewonline.php, how to get the online users that are browsing this place.
Something like SELECT * FROM phpbb_sessions WHERE session_last_page = 'page.php', but that gets only the page, not if the user is online.How can I get if he's online?
by hah
Wed Sep 15, 2010 3:14 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Modifying Memberlist - Extended details
Replies: 16
Views: 944

Re: Modifying Memberlist - Extended details

Actually no matter where is in memberlist.php, but the html it should be in memberlist_view.html ;)
The you should open a profile memberlist.php?mode=viewprofile&u=2
by hah
Tue Sep 14, 2010 8:32 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Modifying Memberlist - Extended details
Replies: 16
Views: 944

Re: Modifying Memberlist - Extended details

Something like this in memberlist.php $sql2 = 'SELECT * FROM ' . USERS_TABLE . ' WHERE user_id = ' . $user_id; $result2 = $db->sql_query($sql2); $template->assign_block_vars(array( 'USER_MEMBERLIST_IP' => $row2['user_ip'], )); then <!-- IF U_ACP --><br />Registered IP: {USER_MEMBERLIST_IP}<!-- ENDIF...
by hah
Fri Sep 10, 2010 8:59 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Pagination
Replies: 5
Views: 1196

Re: Pagination

Ok I get everything, but I have a problem. The 1, 2 • Page 1 from 2 is shown and they are clickable and the pagination with start=5,10,1,2,3 it works, I change the topics per page value and if its 1 I get 1,2,3,4,5,6 if its 5 topics per page I get 1,2, so it seems to be correct, but on whatever page...
by hah
Thu Sep 09, 2010 3:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Pagination
Replies: 5
Views: 1196

Re: Pagination

I told you really really clearly that I don't understand the code. If I knew how it works that way I won't post here. Please I need some example.. PS even the code in the examples is wrong.. [phpBB Debug] PHP Notice: in file /etccode.php on line 21: implode() [function.implode]: Invalid arguments pa...
by hah
Thu Sep 09, 2010 12:47 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Pagination
Replies: 5
Views: 1196

Pagination

Can someone help me with pagination for this code: $sql = 'SELECT * FROM phpbb_yroci WHERE approved = 1 ORDER BY id DESC'; $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { $avtor = $row['avtor']; $template->assign_block_vars('loop', array( 'YROK_IME' => $row['ime'], 'YROK_...
by hah
Tue Sep 07, 2010 12:47 pm
Forum: [3.0.x] Support Forum
Topic: Subscriptions doesn't sent email
Replies: 3
Views: 123

Re: Subscriptions doesn't sent email

Actually there is nothing in the error log.There is only info about other files that I made. No need of srt, nothing usefull only the demo accounts, but I checked them and the results are - With admin accout it says "Sucessfully subscriber" (or how its named in English) and when I try with...
by hah
Tue Sep 07, 2010 10:15 am
Forum: [3.0.x] Support Forum
Topic: Subscriptions doesn't sent email
Replies: 3
Views: 123

Subscriptions doesn't sent email

If someone subscribes to a topic he doesn't get email.
The email server is working, it sends mails for new pm's, and for example for email sending memberlist.php?mode=email&u=2 it sends emails, but for subscribing it doesn't..
by hah
Fri Sep 03, 2010 11:03 am
Forum: [3.0.x] MOD Writers Discussion
Topic: From absolute to relative paths
Replies: 4
Views: 512

Re: From absolute to relative paths

Thanks for that, but since the paths are in functions in templates I should edit other files. I need to edit every php file with paths, eg includes/functions.php, viewtopic.php, viewforum.php but again I won't change everything..for example from where to change the rank image path? Edit: I found it ...
by hah
Fri Sep 03, 2010 8:17 am
Forum: [3.0.x] MOD Writers Discussion
Topic: From absolute to relative paths
Replies: 4
Views: 512

From absolute to relative paths

I want to make a seo mod and, but if i have http://site.com/t/4151/ then all the links are http://site.com/t/memberlist.php / t/index.php etc. If I open all the template files and replace ./ with ../ will it be fixed or..there is some other way? Actually not, because I have somewhere userlist/member...

Go to advanced search