vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Zoints Anonymous Posting - Improved privacy for members (https://vborg.vbsupport.ru/showthread.php?t=177694)

VonDoom 05-22-2009 06:38 AM

Id love to see some updated features but either way great hack. Installed

Bill from Cleve 07-12-2009 06:47 PM

I have an issue. I know it's not from your awesome hack, but was wondering if you could give me an Idea to what is causing it?
When I post and quote using Anonymous, it puts tags around everything [ SIZE="a"]Another test[ /SIZE]

I'm using 3.8.3 Any Ideas?

hbalagh1 07-15-2009 03:20 AM

anyone know how to get this to work with this style
https://vborg.vbsupport.ru/showthread.php?t=174375

DeanLag 07-15-2009 03:43 PM

Quote:

Originally Posted by Bill from Cleve (Post 1847600)
I have an issue. I know it's not from your awesome hack, but was wondering if you could give me an Idea to what is causing it?
When I post and quote using Anonymous, it puts tags around everything [ SIZE="a"]Another test[ /SIZE]

I'm using 3.8.3 Any Ideas?

Same problem as you sir :(

Merriweather 07-24-2009 07:59 PM

Quote:

Originally Posted by rnmcd (Post 1814866)
Excalibur82, have you heard back from Zoints?

Wondering that myself... :)

vespillo 08-19-2009 10:23 PM

(cross posting this here since I initially put it in the older 3.6 thread)

How To: enable Quick Reply posting with the anonymous option

This is a pretty simple fix, it just requires one template change and 2 plugins to be created. The first plugin is to add the correct hook so that the anonymous post from the quick reply gets properly logged into your Anonymous logfile. The second is what allows the if statement to work on the showthread page (where the quick reply lives).

1. Go to your admincp
2. Navigate to Plugins & Products, and then into Add New Plugin
3. Enter the following:

Product: Zoints Anonymous Posting
Hook Location: newreply_post_ajax
Title: Unload Anonymous (AJAX)
Execution Order: 5
Plugin PHP Code:
Code:

if ($vbulletin->GPC['anonymous'])
{
        $vbulletin->userinfo = $olduser;
        $vbulletin->db->query_write("
                INSERT INTO " . TABLE_PREFIX . "anonymous_log
                        (userid, dateline, postid, threadid, forumid)
                VALUES (
                        " . intval($vbulletin->userinfo['userid']) . ",
                        " . TIMENOW . ",
                        " . intval($newpost['postid']) . ",
                        " . intval($threadinfo['threadid']) . ",
                        " . intval($foruminfo['forumid']) . "
        )");
}

Plugin is active: Yes

http://img291.imageshack.us/img291/6...mousajaxqr.png

5. Save.
6. Return to the Add New Plugin page
7. Enter the following:

Product: Zoints Anonymous Posting
Hook Location: showthread_start
Title: Enable Anonymous Posting (Quick Reply)
Execution Order: 5
Plugin PHP Code:
Code:

$show['anonymous'] = false;
if ($vbulletin->options['zointsanony_enabled'] AND $vbulletin->options['zointsanony_userid'])
{
        $anonyforums = explode(',',$vbulletin->options['zointsanony_forums']);
        foreach ($anonyforums AS $fid)
        {
                if ($fid == $forumid)
                {
                        $show['anonymous'] = true;
                }
        }
}

http://img33.imageshack.us/img33/730...hreadstart.jpg

8. Save
9. Go to your Style Manager and edit the following from the SHOW THREAD templates: showthread_quickreply
10. Add the following as the first line in the template:
Code:

<if condition="$show['anonymous']"><div><input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1"  <if condition="$vbulletin->GPC['anonymous']">checked="checked"</if>/>$vbphrase[zointsanony_anonymous_post]</div></if>
11. Save

Now go to a thread in a forum where you have Anonymous posting enabled, and you should see the Quick Reply Anonymous option down at the bottom, just above the text box for the QR. Enjoy :)

New Joe 08-20-2009 01:28 PM

How to make it so it can be used with the quick reply box?

New Joe 08-20-2009 01:33 PM

Quote:

Originally Posted by Wings69 (Post 1766759)
For anyone wanting it in quick reply - I have a dirty hack that does the job. I couldn't get the IF statements working however, so if you disable anon posting you will have to remove this manually. Perhaps someone smarter than me can do something better :)

Edit the SHOWTHREAD template. Find:

Code:

<label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label>
Below it add:

Code:

<div><input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1"  <if condition="$vbulletin->GPC['anonymous']">checked="checked"</if>/>$vbphrase[zointsanony_anonymous_post]</div>

That does not work

vespillo 08-21-2009 04:00 PM

Quote:

Originally Posted by New Joe (Post 1871039)
How to make it so it can be used with the quick reply box?

I use AJAX quickreply, so it's done as such:

Template Edit

===========================================

template name: showthread_quickreply

-------------------------------------------

First line of the template, Add:

-------------------------------------------

Code:

<if condition="$show['anonymous']"><div><input type="checkbox" id="cb_anonymous" class="bginput" name="anonymous" value="1"  <if condition="$vbulletin->GPC['anonymous']">checked="checked"</if>/>$vbphrase[zointsanony_anonymous_post]</div></if>
-------------------------------------------

vespillo 08-27-2009 06:20 PM

Sorry for the delay.. I finally figured out what I had forgotten to include in my previous post that allowed the Quick Reply stuff to work. Look up above at post #76, follow the instructions, and you should be good.

I have also sent a patch of this fix to the Zoints team, hopefully they'll agree that it's a good update and release it as part of the product! Enjoy.


All times are GMT. The time now is 05:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01386 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete