vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - [hide] hack incl post thank you "addon" (https://vborg.vbsupport.ru/showthread.php?t=130887)

mmdmk 08-02-2008 10:49 PM

When you have follow problem by Click on the Thank-You-Button:
Quote:

you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
you must change the sid_hide_noaccess-Template:
Code:

                <if condition="$vboptions[disable_ajax] != 2 AND $vboptions[sid_hide_ajax_on] == 1">
                <script type="text/javascript">
                        if (hide_aktiv) window.clearInterval(hide_aktiv);
                        var hide_aktiv = window.setInterval("findposts(fetch_object('posts'),'$hide_call')", 3000);
                </script>
                </if>
                <div id="hide_fieldset"><fieldset>
                        <legend><span class="highlight">$vbphrase[sid_hide_post_hide]</span></legend>
                        <a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give_$post[postid](); return false;"</if> style="display:$display_image" rel="nofollow">$hide_img</a> 
                </fieldset></div>

Here is the Product file (works on vb 3.7.2PL1 + Post Thanks 7.7).

lostguy 08-03-2008 12:44 PM

I got database error mmdmk :(

product-ajax-product-sids_hide_0.3.5-for-vb.3.70_en.xml

after i hide the post..I enter same post as different user ! And when i click to enter the post got Database error page !

lg

vnairp11 08-03-2008 02:25 PM

its shows the security token missing error for 3.7 please make work with thanks button.

Fynnon 08-03-2008 03:01 PM

Quote:

Originally Posted by mmdmk (Post 1590183)
Here is the Product file (works on vb 3.7.2PL1 + Post Thanks 7.7).

it doesn`t work on my vB 3.7.2 PL1

i tried it on rapidshare link and on attachments and i get this:

Attachment 84969

The problem is that if you want RSS in vB you must let the board be seen by guests but of course you must then hide your attachments and links

I can`t find any mod that does this for vB 3.7.2 PL1

I you guys know another mod that hides the links and attachments and works whit the latest vB version please write it in this topic !

10x

mmdmk 08-03-2008 04:27 PM

Quote:

Originally Posted by Fynnon (Post 1590587)
it doesn`t work on my vB 3.7.2 PL1

i tried it on rapidshare link and on attachments and i get this:

Attachment 84969

The problem is that if you want RSS in vB you must let the board be seen by guests but of course you must then hide your attachments and links

I can`t find any mod that does this for vB 3.7.2 PL1

I you guys know another mod that hides the links and attachments and works whit the latest vB version please write it in this topic !

10x

You must delete your old Hide "BB-Code" and Re-Install Product.xml.
The Add-On Install a new Hide-BBCode.
Don't forget: Add your small graphic on it, to see the Button on Editor Toolbar.

lostguy 08-03-2008 09:13 PM

Quote:

Originally Posted by mmdmk (Post 1590627)
You must delete your old Hide "BB-Code" and Re-Install Product.xml.
The Add-On Install a new Hide-BBCode.
Don't forget: Add your small graphic on it, to see the Button on Editor Toolbar.

i dont understand ! Where i can find new BB-CODE ?

All i did is install this into my Manage products :

product-ajax-product-sids_hide_0.3.5-for-vb.3.70_en.xml

Then i got database error when i try RE ENTER the hided post with different user . Yep the whole hide post seem not exist and with error database msg .

Yes im 3.7.2 p1 user . Can u help me ?

lg

da_judge 08-05-2008 09:31 PM

Quote:

Originally Posted by mmdmk (Post 1590183)
When you have follow problem by Click on the Thank-You-Button:


you must change the sid_hide_noaccess-Template:
Code:

                <if condition="$vboptions[disable_ajax] != 2 AND $vboptions[sid_hide_ajax_on] == 1">
                <script type="text/javascript">
                        if (hide_aktiv) window.clearInterval(hide_aktiv);
                        var hide_aktiv = window.setInterval("findposts(fetch_object('posts'),'$hide_call')", 3000);
                </script>
                </if>
                <div id="hide_fieldset"><fieldset>
                        <legend><span class="highlight">$vbphrase[sid_hide_post_hide]</span></legend>
                        <a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give_$post[postid](); return false;"</if> style="display:$display_image" rel="nofollow">$hide_img</a> 
                </fieldset></div>

Here is the Product file (works on vb 3.7.2PL1 + Post Thanks 7.7).


Works a treat with latest Thanks 7.7 and 3.7.2 pl1 cheers

yingzhou 08-06-2008 04:46 AM

Quote:

Originally Posted by mmdmk (Post 1590183)
When you have follow problem by Click on the Thank-You-Button:


you must change the sid_hide_noaccess-Template:
Code:

                <if condition="$vboptions[disable_ajax] != 2 AND $vboptions[sid_hide_ajax_on] == 1">
                <script type="text/javascript">
                        if (hide_aktiv) window.clearInterval(hide_aktiv);
                        var hide_aktiv = window.setInterval("findposts(fetch_object('posts'),'$hide_call')", 3000);
                </script>
                </if>
                <div id="hide_fieldset"><fieldset>
                        <legend><span class="highlight">$vbphrase[sid_hide_post_hide]</span></legend>
                        <a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="post_thanks_give_$post[postid](); return false;"</if> style="display:$display_image" rel="nofollow">$hide_img</a> 
                </fieldset></div>

Here is the Product file (works on vb 3.7.2PL1 + Post Thanks 7.7).

Can this Hide the content on Print Thread version?

Skierpetros 08-06-2008 09:23 AM

i want to tell me how can i insert it as bb code

mmdmk 08-07-2008 02:00 PM

Quote:

Originally Posted by yingzhou (Post 1592365)
Can this Hide the content on Print Thread version?

Yes.


All times are GMT. The time now is 06:30 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.01989 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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