Jump to content


- - - - -

(DP23) New Topic Author Chooser 1.2


  • Please log in to reply
29 replies to this topic

#1 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 25 July 2008 - 09:40 PM

Posted Image


File Name: (DP23) New Topic Author Chooser 1.2
File Submitter: DawPi
File Submitted: 25 Jul 2008
File Updated: 29 Jul 2008
File Category: IP.Board v2.3.x Mods

With this mod you can easily choose new author of topic that you current post. When someone post new topic then he have drop-down menu list with users from forum and can easily choose new author for this topic. Polls are affected. Attachments - don't.

Features:


  • Enable/disable mod
  • Select which groups can post new topics as any other member from forum
  • Select on which forums users who can post new topics any other member can write thas new topics
  • Include admin group to user - enable/disable members from admin groups to use in this mod ( users can/can't use admin for new topics )


Changelog from 1.1 to 1.2:


  • fixed bug - during edit post ( fast or standard edit ) get IPS Driver Error



Click here to download this file
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#2 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 25 July 2008 - 11:25 PM

I got a question, Dawpi: I didn't test it yet but does the mod update the last time visit of the author topic ?

A member from my board asked me that regarding a Sean's MOD that does the same, on ACP.

And I agree... It's a little bit strang a user 'post' a new topic and your last time visit remains not updated.

#3 Darkidan

Darkidan

    Advanced Member

  • Members
  • PipPipPipPip
  • 78 posts
  • Real Name:Idan
  • IPB Version:v3.0.x

Posted 26 July 2008 - 12:06 AM

it ain't a good mod.. what if a sappamer will enter the forum and use this to replace the Author with somebody else.. ?

#4 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 27 July 2008 - 02:21 AM

View PostSOSInvision, on Jul 25 2008, 06:25 PM, said:

I got a question, Dawpi: I didn't test it yet but does the mod update the last time visit of the author topic ?

A member from my board asked me that regarding a Sean's MOD that does the same, on ACP.

And I agree... It's a little bit strang a user 'post' a new topic and your last time visit remains not updated.
Arhh, yes, you're right. I might add this in next version ;-) It shouldn't be difficult to add.

View PostAsh-M, on Jul 25 2008, 07:06 PM, said:

it ain't a good mod.. what if a sappamer will enter the forum and use this to replace the Author with somebody else.. ?
No, it won't happen because you can set which groups can user this mod ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#5 Maynard

Maynard

    Coder

  • Members
  • PipPipPipPipPip
  • 108 posts
  • Location:Finland
  • Real Name:Jarmo
  • IPB Version:v3.2.x

Posted 27 July 2008 - 11:48 AM

I get this error:

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' or '{' in /var/www/board/sources/classes/post/class_post.php on line 720

I've done the edits three times and always the same thing.


Quote

function compile_poll()
    //-----------------------------------------
                // (DP23) New Topic Author Chooser
                //-----------------------------------------

    $this->dp23tac_en(); LINE 720


#6 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 27 July 2008 - 01:21 PM

View PostDawPi, on Jul 26 2008, 11:21 PM, said:

Arhh, yes, you're right. I might add this in next version ;-) It shouldn't be difficult to add.
As a matter of fact, I think you have to update last_post, last_activity and last_visit from ibf_members.

On class_post_new.php, somewhere on your mod:

$this->ipsclass->DB->do_update( 'members', array( 'last_post' => time(), 'last_visit' => time(), 'last_activity' => time() ), 'id='.$this->ipsclass->member['id'] );
;)

#7 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 27 July 2008 - 01:46 PM

View PostMaynard, on Jul 27 2008, 07:48 AM, said:

I get this error:
Parse error: syntax error, unexpected T_VARIABLE, expecting ';' or '{' in /var/www/board/sources/classes/post/class_post.php on line 720
Yes, this error is 'correct' because you don't read carefully instruction.

There is:
Find:

Quote

function compile_poll()
    {
and add below:
	//-----------------------------------------
		// (DP23) New Topic Author Chooser
		//-----------------------------------------

	$this->dp23tac_en();

;)


adriano:  :)

Edited by DawPi, 27 July 2008 - 01:47 PM.

Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#8 Maynard

Maynard

    Coder

  • Members
  • PipPipPipPipPip
  • 108 posts
  • Location:Finland
  • Real Name:Jarmo
  • IPB Version:v3.2.x

Posted 27 July 2008 - 01:59 PM

D'oh.

Fixed that, but now I get ips driver error when I enable the mod.

#9 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 28 July 2008 - 11:20 PM

View PostMaynard, on Jul 27 2008, 09:59 AM, said:

D'oh.

Fixed that, but now I get ips driver error when I enable the mod.
http://www.invisionm...amp;article=129
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#10 Maynard

Maynard

    Coder

  • Members
  • PipPipPipPipPip
  • 108 posts
  • Location:Finland
  • Real Name:Jarmo
  • IPB Version:v3.2.x

Posted 29 July 2008 - 08:22 AM

View PostDawPi, on Jul 29 2008, 02:20 AM, said:


 Error Number: 1064
 Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 4 )' at line 1
 Page: /board/index.php?act=post&do=new_post&f=14
 mySQL query error: SELECT * FROM ibf233_members WHERE mgroup NOT IN ( , 4 )


#11 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 29 July 2008 - 11:13 AM

What do you have in conf_global.php in this line:

Quote

$INFO['banned_group'] = 'X';

Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#12 Maynard

Maynard

    Coder

  • Members
  • PipPipPipPipPip
  • 108 posts
  • Location:Finland
  • Real Name:Jarmo
  • IPB Version:v3.2.x

Posted 29 July 2008 - 11:20 AM

View PostDawPi, on Jul 29 2008, 02:13 PM, said:

What do you have in conf_global.php in this line:

Quote

$INFO['banned_group'] = 'X';

That line was missing from conf_global. I added it and now it works.
Is it possible to sort the drop-down box alphabetically? Now it's sorted by id, which isn't very practical.

#13 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 29 July 2008 - 02:49 PM

View PostMaynard, on Jul 29 2008, 07:20 AM, said:

Is it possible to sort the drop-down box alphabetically? Now it's sorted by id, which isn't very practical.

Thanks for the feedback. Maybe i add this feature in next version.. Unless, no i going to pack on holiday ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#14 Maynard

Maynard

    Coder

  • Members
  • PipPipPipPipPip
  • 108 posts
  • Location:Finland
  • Real Name:Jarmo
  • IPB Version:v3.2.x

Posted 29 July 2008 - 06:45 PM

IPS driver error when admin or moderator tries to edit a message in forum that has this active.

Date: Tue, 29 Jul 2008 21:27:20 +0300
 Error Number: 1064
 Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,1' at line 1
 Page: /board/index.php?
 mySQL query error: SELECT * FROM ibf233_members WHERE id =  LIMIT 0,1


#15 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 29 July 2008 - 09:49 PM

Modification upgrade now available.. More info in first post ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#16 Maynard

Maynard

    Coder

  • Members
  • PipPipPipPipPip
  • 108 posts
  • Location:Finland
  • Real Name:Jarmo
  • IPB Version:v3.2.x

Posted 31 July 2008 - 07:53 PM

IPS driver error when moderator/admin tries to post:

Quote

Date: Thu, 31 Jul 2008 22:48:26 +0300
Error Number: 1064
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,1' at line 1
Page: /board/index.php?
mySQL query error: SELECT * FROM ibf233_members WHERE id =  LIMIT 0,1

Edited by Maynard, 31 July 2008 - 07:56 PM.


#17 NetJunky

NetJunky

    Member

  • Members
  • PipPipPip
  • 26 posts
  • IPB Version:v2.3.x

Posted 19 August 2008 - 07:44 PM

sry. I have translated this modification and when I try it, then it is OK on making topics, but when i want to see the post before i publish it then i get error wuth DB & when i disable this modification then everything works fine.
Could you help me solve the problem?

#18 Cool Surfer

Cool Surfer

    Not Guilty!!

  • Members
  • PipPipPipPipPipPip
  • 331 posts
  • Location:India
  • Real Name:Cool Surfer
  • IPB Version:v3.0.x
Contributor

Posted 20 August 2008 - 01:58 PM

Can you add this feature to reply as any member too.? Just like we cna choose the topic starter ...
Affordable hosting at www.xpindia.com
Server Alert Reseller XpIndia.Com Forum
Be Kind And Courteous To People On Your Way Up for You Might meet Them On Your Way down...

#19 Cool Surfer

Cool Surfer

    Not Guilty!!

  • Members
  • PipPipPipPipPipPip
  • 331 posts
  • Location:India
  • Real Name:Cool Surfer
  • IPB Version:v3.0.x
Contributor

Posted 20 August 2008 - 02:00 PM

This mod SE23_Post_as_Any_Member_1.0 has the option to post a reply also as any member, but
this has to be done thro admin cp, and topic id and ember id has to be posted each time. If the option to reply as any member can be
added the this mod, it would be much easy . ;)

Edited by Cool Surfer, 21 August 2008 - 05:10 AM.

Affordable hosting at www.xpindia.com
Server Alert Reseller XpIndia.Com Forum
Be Kind And Courteous To People On Your Way Up for You Might meet Them On Your Way down...

#20 wanderinstar

wanderinstar

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:csvr
  • IPB Version:v2.3.x

Posted 21 August 2008 - 09:52 PM

View PostMaynard, on Jul 30 2008, 05:45 AM, said:

IPS driver error when admin or moderator tries to edit a message in forum that has this active.

Date: Tue, 29 Jul 2008 21:27:20 +0300
 Error Number: 1064
 Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,1' at line 1
 Page: /board/index.php?
 mySQL query error: SELECT * FROM ibf233_members WHERE id =  LIMIT 0,1
I get almost the same, but I can edit okay.. mine happens when I try to reply to the topic I just started (as someone else)
Date: Fri, 22 Aug 2008 01:16:25 +0400
 Error Number: 1064
 Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,1' at line 1
 IP Address: ----------
 Page: /index.php?
 mySQL query error: SELECT * FROM members WHERE id =  LIMIT 0,1

Edited by wanderinstar, 21 August 2008 - 09:55 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users