Jump to content


* * * * * 1 votes

(V88)Forum Moderators - 1.0.0


  • Please log in to reply
33 replies to this topic

#1 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 11 April 2007 - 05:42 PM


File Name: (V88)Forum Moderators - 1.0.0
File Submitter: Vadim88
File Submitted: 11 Apr 2007
File Updated: 12 Apr 2007
File Category: IP.Board v2.2.x Mods

(V88)Forum Moderators - 1.0.1
With this mod you would add at the bottom of every forum anew simple table to show the forums moderators, it was coded is if there are no moderators there wont be any table shown.
Supports both single member moderators and group moderators.

Files Effected:
sources/action_public/forums.php
sources/sql/mysql_queries.php
1 Language String Added
2 Template Bits Added

Requirements:
This mod was designed to be installed using the Universal Mod Installer, available from IPSBeyond or Invision Modding .

Files Uploaded:
mod_install/forum-mods.xml To mod_install/

IPB Versions:
IPB 2.2 / 2.2.1

Support
Support will be provided at InvisionModding.com Or Ipsb.com

Change Log
1.0.1 - Fixed Installer Typo
1.0.0 - Initial Release

Click here to download this file
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#2 nargi

nargi

    n00b

  • Members
  • Pip
  • 4 posts
  • IPB Version:v2.2.x

Posted 12 April 2007 - 02:25 AM

way to go vadim!
keep it up!

#3 maruf

maruf

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 319 posts
  • Real Name:Maruf
  • IPB Version:v2.3.x

Posted 12 April 2007 - 02:41 AM

Interesting mod there, vadim. smile.gif

#4 IndianMonk

IndianMonk

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 167 posts
  • IPB Version:v2.2.x

Posted 12 April 2007 - 04:06 AM

Which file to edit: sources/action_pulic/forums.php? or sources/action_admin/forums.php? I found both in instruction.

#5 Miracle

Miracle

    Coder

  • Members
  • PipPipPipPipPip
  • 140 posts
  • IPB Version:v2.3.x

Posted 12 April 2007 - 06:01 AM

another vb standard feature wink.gif

would this use extra queries?

Edited by Miracle, 12 April 2007 - 06:20 AM.


#6 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 07:57 AM

IndianMonk...it's sources/action_pulic/forums.php

miracle this uses another qurey trough the sql/mysql_quries.php file tor reduce total queries and to support other then MYSQL DB drivers.

smile.gif
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#7 IndianMonk

IndianMonk

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 167 posts
  • IPB Version:v2.2.x

Posted 12 April 2007 - 11:14 AM

I could not find 'function forums_get_active_users( $a )' in sources/sql/mysql_queries.php. Wat should I do? Is there any problem in my sources/sql/mysql_queries.php?

#8 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 11:42 AM

Try searching just for this:

CODE
forums_get_active_users

Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#9 furdon

furdon

    Member

  • IM Supporters
  • PipPipPip
  • 31 posts
  • Real Name:furdon
  • IPB Version:v2.2.x

Posted 12 April 2007 - 11:56 AM

I can't find this:       if ( ! $this->pinned_topic_count and $this->announce_out )
in     sources/action_admin/forums.php wink.gif

#10 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 12:22 PM

it's sources/action_public/forums.php
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#11 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 12:30 PM

Fixed the installer typo mod updated to v1.0.1
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#12 furdon

furdon

    Member

  • IM Supporters
  • PipPipPip
  • 31 posts
  • Real Name:furdon
  • IPB Version:v2.2.x

Posted 12 April 2007 - 01:01 PM

QUOTE(Vadim88 @ Apr 12 2007, 02:22 PM) <{POST_SNAPBACK}>
it's sources/action_public/forums.php

thank you
find it smile2.gif

#13 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 02:00 PM

Glad i could help.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#14 IndianMonk

IndianMonk

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 167 posts
  • IPB Version:v2.2.x

Posted 12 April 2007 - 02:10 PM

Sorry I could not find it. Here is the sql/mysql_quries.php:

Attached File  mysql_queries.php   27.74K   5 downloads

#15 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 02:18 PM

I see well just search for this:

CODE
# NEW: 2.2
    function calendar_get_events( $a )
    {
        return "SELECT *
                    FROM ".SQL_PREFIX."cal_events
                    WHERE event_calendar_id={$a['calendar_id']} AND {$a['approved']}
                    AND ( (event_unix_to >= {$a['timenow']} AND event_unix_from <= {$a['timethen']} )
                    OR ( event_unix_to=0 AND event_unix_from >= {$a['timenow']} AND event_unix_from <= {$a['timethen']} )
                    OR ( event_recurring=3 AND FROM_UNIXTIME(event_unix_from,'%c') IN ({$a['month']}) AND event_unix_to <= {$a['timethen']} ) )";
    }


and add the code above that, that should make it work. smile.gif
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#16 IndianMonk

IndianMonk

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 167 posts
  • IPB Version:v2.2.x

Posted 12 April 2007 - 05:13 PM

Its working fine. But why I could not find 'function forums_get_active_users( $a )' in sources/sql/mysql_queries.php. Wat should I do? Is there any problem in my sources/sql/mysql_queries.php?

#17 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 05:33 PM

I dont really know why you cant find that, maybe i just used a 2.1 sql file or maybe i added that function myself, i dont really recall what was the issue for this but as long as everything is working i think you are safe. smile.gif
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#18 furdon

furdon

    Member

  • IM Supporters
  • PipPipPip
  • 31 posts
  • Real Name:furdon
  • IPB Version:v2.2.x

Posted 12 April 2007 - 06:32 PM

QUOTE(Vadim88 @ Apr 12 2007, 07:33 PM) <{POST_SNAPBACK}>
I dont really know why you cant find that, maybe i just used a 2.1 sql file or maybe i added that function myself, i dont really recall what was the issue for this but as long as everything is working i think you are safe. smile.gif

In the jet skin (ipb 2.2) it doesn't work
I don't see nothing wink.gif

#19 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 12 April 2007 - 08:02 PM

What's a jet skin? and did you installed the skin after installing the mod trough the UMI?
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#20 furdon

furdon

    Member

  • IM Supporters
  • PipPipPip
  • 31 posts
  • Real Name:furdon
  • IPB Version:v2.2.x

Posted 12 April 2007 - 08:55 PM

QUOTE(Vadim88 @ Apr 12 2007, 10:02 PM) <{POST_SNAPBACK}>
What's a jet skin? and did you installed the skin after installing the mod trough the UMI?

Jet Skin?
Look here:
http://www.creative-networks.org/forums/do...amp;showfile=16
no i didn't install after the mod.
before,i think 2 month ago




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users