Jump to content


- - - - -

[Unsupported] (OV22) One Click Approve v1.0


  • Please log in to reply
19 replies to this topic

#1 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts
  • Real Name:Ove
  • IPB Version:v2.2.x

Posted 10 January 2007 - 11:12 PM


File Name: [Unsupported] (OV22) One Click Approve v1.0
File Submitter: Chelsove
File Submitted: 10 Jan 2007
File Updated: 23 Jan 2007
File Category: IP.Board v2.2.x Mods

This little mod simply places an approve button on every invisible post so you can approve with a single click. Saves you the bother of checking the checkboxes and then selecting the set visible option from the drop-down in the moderation panel. Useful if your moderation queue is big and you need to speed things up.

Files Affected:
  • sources\action_public\topic.php
  • sourcs\action_public\moderate.php


Click here to download this file

#2 Nightwisher

Nightwisher

    Coder

  • Banned
  • PipPipPipPipPip
  • 221 posts
  • Location:Bosnia
  • Real Name:Damir
  • IPB Version:v2.3.x

Posted 11 March 2007 - 06:34 PM

Thanks for this mod ! Sorry i forget to come later its work excelent on 2.2.1 borad but when i made upgrade on 2.2.2 its stop to work ! Do you made some upgrades on this excelent mod please ?

Friendly
Nightwisher

#3 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts
  • Real Name:Ove
  • IPB Version:v2.2.x

Posted 11 March 2007 - 07:49 PM

I just installed this mod on a v2.2.2 board to check and it works for me. When you did the upgrade, did you redo the edits afterwards? You lose modifications when you upgrade, so you have to follow the instructions for installing the mod again.

Another thing is that if you've only tested on new topics, this mod won't work on them, just new posts. The reason is that topics (first post) and posts are treated very differently in IPB.

If you've reinstalled and verified that all the edits are in place, do you get any concrete errors?

#4 Nightwisher

Nightwisher

    Coder

  • Banned
  • PipPipPipPipPip
  • 221 posts
  • Location:Bosnia
  • Real Name:Damir
  • IPB Version:v2.3.x

Posted 11 March 2007 - 08:22 PM

I do like you write ! Yes and make again codes check lot of times and as see it all codes are on right place !  I dont get any errors but button approve dont show i try with old post and nothing, also try  unapprove, try new post than unapprove,than try with test account with spam 1.4 mod like new members need approve and in some reasons its not show !

#5 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts
  • Real Name:Ove
  • IPB Version:v2.2.x

Posted 11 March 2007 - 08:36 PM

Have you checked that everything is OK in the skin? There should a change to RenderRow in Topic View plus there should be a new template bit created called button_approve. Check that the button_approve template bit isn't empty. Finally, check that you've not installed in one skin but are using another skin.

#6 Nightwisher

Nightwisher

    Coder

  • Banned
  • PipPipPipPipPip
  • 221 posts
  • Location:Bosnia
  • Real Name:Damir
  • IPB Version:v2.3.x

Posted 11 March 2007 - 09:04 PM

I download file today here becouse i sow it that is updated and i make all like is write in file for every skin and check all parts and codes for editing ! Also i try all skins but same problem for all skins !

Also i try to rebuild all skins in tool skin ! Also update all cache and templates ! Still button approve dont show !

Edited by Nightwisher, 11 March 2007 - 09:05 PM.


#7 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts
  • Real Name:Ove
  • IPB Version:v2.2.x

Posted 11 March 2007 - 09:34 PM

I'm not sure I'm able to troubleshoot further. I've installed the mod in v2.2.2 myself and confirmed that it works. You say you've added the file edits and the skin edits, yet nothing shows. You don't get an error either. As long as there's no error, it's difficult to suggest anything.

The only thing I can think of, is that you start over with fresh copies of topics.php and moderate.php. Perhaps even delete the template bit and make it over again. It's a relatively small modification.

Yet another alternative, is that you've got a conflicting mod, although I can't think of any. Perhaps there's something obvious we're missing.

#8 Nightwisher

Nightwisher

    Coder

  • Banned
  • PipPipPipPipPip
  • 221 posts
  • Location:Bosnia
  • Real Name:Damir
  • IPB Version:v2.3.x

Posted 11 March 2007 - 09:41 PM

I dont know reason but i found where is mistake !

For New Template Bit Incoming Data Variables enter:

CODE
$fid="",$tid="",$pid="",$key=""


Is some resons when i enter this and click save its close but dont save and i try to do with ENTER and its saved and works now !

Thanks for support and your time !

Friendly
Nightwisher

#9 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts
  • Real Name:Ove
  • IPB Version:v2.2.x

Posted 11 March 2007 - 09:50 PM

Yes, that's true. I would have mentioned that those data variables could be tricky when editing them, but I thought it wasn't a problem saving them when you created the template bit in the first place.

I'm glad it works for you now!

#10 vesperala

vesperala

    Miradoniz

  • Members
  • PipPipPipPipPipPipPip
  • 697 posts
  • Location:Romania
  • Real Name:nobody
  • IPB Version:v2.3.x

Posted 20 April 2008 - 10:20 AM

can this be installed on 2.3.4 version of IPB? is working?

O raclă mare-i lumea. Stelele-s cuie/Bătute-n ea şi soarele-i fereasta/La temniţa vieţii
Mihai Eminescu

Stelele-n cer, deasupra mărilor, ard depărtărilor, pānă ce pier...

Posted Image


Posted Image

#11 riven3d

riven3d

    Needs to get out more

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 3,908 posts
  • Location:Florida
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 20 April 2008 - 10:45 AM

its working fine, have it installed and in use

Did you find my support helpful? Feel free to donate!
Posted Image


#12 vesperala

vesperala

    Miradoniz

  • Members
  • PipPipPipPipPipPipPip
  • 697 posts
  • Location:Romania
  • Real Name:nobody
  • IPB Version:v2.3.x

Posted 20 April 2008 - 01:07 PM

thank you...;)

yes, is working...

O raclă mare-i lumea. Stelele-s cuie/Bătute-n ea şi soarele-i fereasta/La temniţa vieţii
Mihai Eminescu

Stelele-n cer, deasupra mărilor, ard depărtărilor, pānă ce pier...

Posted Image


Posted Image

#13 vesperala

vesperala

    Miradoniz

  • Members
  • PipPipPipPipPipPipPip
  • 697 posts
  • Location:Romania
  • Real Name:nobody
  • IPB Version:v2.3.x

Posted 20 April 2008 - 02:43 PM

maybe another button for making a post invisible will be useful too ;)

is a difficult job to do this?

O raclă mare-i lumea. Stelele-s cuie/Bătute-n ea şi soarele-i fereasta/La temniţa vieţii
Mihai Eminescu

Stelele-n cer, deasupra mărilor, ard depărtărilor, pānă ce pier...

Posted Image


Posted Image

#14 KliczeK4

KliczeK4

    Advanced Member

  • Banned
  • PipPipPipPip
  • 76 posts
  • Location:London
  • Real Name:Mat
  • IPB Version:v2.3.x

Posted 02 June 2008 - 11:13 AM

Well, what a about the first post as a topic? There isn't any button, is there? ;)
I'm Mat. (KliczeK) Moderator of Polish IP.Board Support.
Posted Image Polish IP.Board Support - mods, skins, fast help and more...

[Kliczus -> KliczeK4]


#15 vesperala

vesperala

    Miradoniz

  • Members
  • PipPipPipPipPipPipPip
  • 697 posts
  • Location:Romania
  • Real Name:nobody
  • IPB Version:v2.3.x

Posted 02 June 2008 - 11:22 AM

View PostKliczus, on Jun 2 2008, 02:13 PM, said:

Well, what a about the first post as a topic? There isn't any button, is there? ;)
it is the same as with the delete button...

you know, if you wish to delete the first post of a topic, is not a delete button...
trying to do that, all you get is: Sorry, you cannot delete the first post in this topic. If you wish to delete the complete topic, choose 'Delete Topic' from your moderator bar at the foot of the topic view screen.


it is the same thing whit Approve button... If you wish to approve that post, that means to approve the topic... :)

O raclă mare-i lumea. Stelele-s cuie/Bătute-n ea şi soarele-i fereasta/La temniţa vieţii
Mihai Eminescu

Stelele-n cer, deasupra mărilor, ard depărtărilor, pānă ce pier...

Posted Image


Posted Image

#16 KliczeK4

KliczeK4

    Advanced Member

  • Banned
  • PipPipPipPip
  • 76 posts
  • Location:London
  • Real Name:Mat
  • IPB Version:v2.3.x

Posted 02 June 2008 - 04:40 PM

Thanks vesperala for explaining! ;)

Anyone could do it for topics as well? :)

Edited by Kliczus, 22 June 2008 - 10:53 PM.

I'm Mat. (KliczeK) Moderator of Polish IP.Board Support.
Posted Image Polish IP.Board Support - mods, skins, fast help and more...

[Kliczus -> KliczeK4]


#17 KliczeK4

KliczeK4

    Advanced Member

  • Banned
  • PipPipPipPip
  • 76 posts
  • Location:London
  • Real Name:Mat
  • IPB Version:v2.3.x

Posted 22 June 2008 - 10:52 PM

Bump. [=

@Edit@
It's not request for new mod, it is request for making this mod more advanced. ;)

Edited by Kliczus, 23 June 2008 - 05:40 AM.

I'm Mat. (KliczeK) Moderator of Polish IP.Board Support.
Posted Image Polish IP.Board Support - mods, skins, fast help and more...

[Kliczus -> KliczeK4]


#18 riven3d

riven3d

    Needs to get out more

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 3,908 posts
  • Location:Florida
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 22 June 2008 - 11:03 PM

you can make a request for it, as this is for support for the mod not requesting something different

Did you find my support helpful? Feel free to donate!
Posted Image


#19 dqh

dqh

    n00b

  • Members
  • Pip
  • 1 posts
  • IPB Version:v2.3.x

Posted 02 December 2008 - 08:58 AM

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/x/public_html/forum/sources/action_public/moderate.php on line 99

How to fix it?

#20 Pintac

Pintac

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 265 posts
  • Location:Pittsburgh, PA | Cebu, Philippines
  • Real Name:Steve
  • IPB Version:v3.1.x
Contributor

Posted 05 March 2009 - 02:38 AM

View Postvesperala, on Apr 20 2008, 09:43 AM, said:

maybe another button for making a post invisible will be useful too ;)

is a difficult job to do this?

Are there any plans to update this mod with this feature?
Steve
| My Mods | My Tutorials |




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users