vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Stamps (CSRF protection added) (https://vborg.vbsupport.ru/showthread.php?t=181321)

misr.cc 06-02-2008 10:00 PM

Stamps (CSRF protection added)
 
First : My English isn't so good so am sorry for any Mistakes

Please remember to click Mark as Installed if you use this modification

Description:
when there is a Congratulations message due or any good stuff like
Games or Applications you may want to add a nice
thing for it ..... that's what this Product does.


It allows you to add a stamp on the Top Right corner of the thread or in other places you are free to choose.

For More Details I made some screenshots
https://vborg.vbsupport.ru/attachmen...1&d=1212519778 https://vborg.vbsupport.ru/attachmen...1&d=1212519778 https://vborg.vbsupport.ru/attachmen...1&d=1212519778

Some other maybe useful stamps :)

https://vborg.vbsupport.ru/external/2008/06/16.pnghttps://vborg.vbsupport.ru/external/2008/06/17.pnghttps://vborg.vbsupport.ru/external/2008/06/18.png
https://vborg.vbsupport.ru/showpost....7&postcount=24

New Stamps Made By : HaYLaZ
PSD Incl

Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. upload the files under folder upload
3. Enter the option and edit it as u like

To set options:
Go to: AdminCP > vBulletin Options > Stamps Options

allow Moderators to stamp threads :
Go to: Forums & Moderators > Show All Moderators > select the Moderator
> [Edit Permissions] > at the end of the page u will find "Can Do Stamp", choose " Yes"

Main Features:
- Select the ( style of best threads - position of stamp in thread )
- Repeat Stamp Pic in thread
- Number of threads to be shown on the table Of the best threads see the last 2 screens
- Default time to remove stamps
- stamped threads speed ( just works with the table ( move to Up )
- allow all Moderators or some of them to stamp the topics ( admin group is the only group u can't disallow from stamping .. do disallow them you need to Edit there
permission
Manually one by one )

Tested:
vBulletin Version : 3.7.0 & 3.7.1 & 3.7.2


Versions:
v1.0 : v 3.8.1 - Arabic releases
v4.0.0 - First English release
v4.0.1 - First release for VB3.7
v4.0.2 B - Fixed CSRF and same bugs remove same images that not work (English)

See screenshots And More Info :-
you can find it @ my old topic
https://vborg.vbsupport.ru/showthread.php?t=143707

Please remember to click Mark as Installed if you use this modification

Many Thanks
HaYLaZ for making New STAMPS pics and translate To Turkish
Many Thanks bahisyeri for Fix security token problems

misr.cc 06-02-2008 10:01 PM

Bugs :-

Fix :-
[s]Default time to remove stamps not work[/s] ---> Should work now

1-
Quote:

Ra7el is there a way to stop the hack from adding that to Forum Home when there is a stamp handed out? I do not like that feature. It takes up room on the page and its redundant information
about your question Yes there

Open
product-stamps.xml
with Notepad
and find
PHP Code:

         <plugin active="1" executionorder="5">
            <
title>The Best Topics</title>
            <
hookname>forumhome_complete</hookname>
            <
phpcode><![CDATA[if (file_exists('./includes/stampbesttread.php'))
                        require_once(
DIR '/includes/stampbesttread.php');]]></phpcode>
        </
plugin

and remove it
that's all



2-
Quote:

A small problem I have found when I go to give permissions to a usergorup to use it and set it to can give stamps = YES soon as I edit it it changes it back to the original permissions so basically it doesnt work

can give any1 permissions

~Rick~

hii , ~Rick~
as u the only one have a problem with this hack
soo make sure u upload all files to The right place
and all of them get the ( CHMOD = 755 )
and uninstall the product and import it again
if u still have any problems .... so am here and

wait Your replay

3- [s]Your submission could not be processed because a security token was missing or mismatched.[/s] Fixed with ( English & Turkish & Arabic ) XML

4-
[S]
https://vborg.vbsupport.ru/showpost....0&postcount=40
https://vborg.vbsupport.ru/showpost....5&postcount=39
https://vborg.vbsupport.ru/showpost....2&postcount=37
[/S] Fixed


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

Still work with :-

1-
Quote:

On my forum home de Best Threads scroller, only displays 1 stamp categorie
there is no problem
Just the Excellent stamp
is apper on the forum home
and i'll try to change it in the v:4.0.2


misr.cc 06-02-2008 10:02 PM

How To :-
- Allow Moderators to stamp threads
Go to: Forums & Moderators > Show All Moderators > select the Moderator
> [Edit Permissions] > at the end of the page u will find "Can Do Stamp", choose " Yes"


- How do you add custome pictures like say best advice of the month etc ?
when you add a new Stamp Pic
called the new stamp with best advice of the month u should make the name of icon is " thread_Dom.gif " and u will add this part ( _Dom ) just on stamp icon
that mean ( images/stamps/ ) will clear it and add (
_Dom ) Just Only
2- the pics of the stamp You will find a PSD you can use it to make
the stamp u like
.

-

lostguy 06-02-2008 10:58 PM

i wonder where the FILE XML i can download ? U must be forget to put it here .

misr.cc 06-02-2008 11:06 PM

Quote:

Originally Posted by lostguy (Post 1539203)
i wonder where the FILE XML i can download ? U must be forget to put it here .


Sorry i forget it :( ... re uploaded :D

lostguy 06-02-2008 11:30 PM

<a href="http://www.XXXX.com/forum/_Aom" target="_blank">http://www.XXXX.com/forum/_Aom</a>

Modify Stamps
I believe u missing these few icon button ! No inside upload folder .

lostguy 06-02-2008 11:32 PM

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error

--

I got these msg right after i choose stamp i wanna lable a thread

Mum 06-03-2008 03:59 AM

I installed this, uploaded the stamps files, and imported the product. However in usergroups there are no options to turn it on?

RedTrinity 06-03-2008 05:10 AM

Quote:

Originally Posted by lostguy (Post 1539222)
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error

--

I got these msg right after i choose stamp i wanna lable a thread

Same....

misr.cc 06-03-2008 06:33 AM

Quote:

Originally Posted by lostguy (Post 1539221)
http://www.XXXX.com/forum/_Aom

Modify Stamps
I believe u missing these few icon button ! No inside upload folder .

Sorry working to Fix it

Quote:

Originally Posted by lostguy (Post 1539222)
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error

--

I got these msg right after i choose stamp i wanna lable a thread

Quote:

Originally Posted by GamerGirl27 (Post 1539442)
Same....

Use This product
https://vborg.vbsupport.ru/showthread.php?t=176985

Quote:

Originally Posted by Mum (Post 1539381)
I installed this, uploaded the stamps files, and imported the product. However in usergroups there are no options to turn it on?

i didn't say you have any Options in Usergroups .... If you want to allow
Quote:

How To :-
- Allow Moderators to stamp threads
Go to: Forums & Moderators > Show All Moderators > select the Moderator
> [Edit Permissions] > at the end of the page u will find "Can Do Stamp", choose " Yes"

And same thing to The Super mode & Admin i hope it clear :)

MyZurna 06-03-2008 06:37 AM

Quote:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
:( ........

misr.cc 06-03-2008 06:40 AM

Quote:

Originally Posted by MyZurna (Post 1539483)
:( ........

Use This product
https://vborg.vbsupport.ru/showthread.php?t=176985

sensimilla 06-03-2008 07:18 AM

Wonderful, i was looking for it.

digicom 06-03-2008 07:19 AM

thanks apprciated :up:

misr.cc 06-03-2008 07:55 AM

Quote:

Originally Posted by sensimilla (Post 1539500)
Wonderful, i was looking for it.

Quote:

Originally Posted by digicom (Post 1539501)
thanks apprciated :up:

you are welcome any help tell me :)

lostguy 06-03-2008 12:37 PM

Urh u have to use another product just to avoid the errors ? This is sad !!!

[ITECH] Inferno CSRF Auto Protection was created for 3.6.9..im using 3.7.1 !

U need fix ya script problems ...I dont want to add another add-on just to fix another problem add-ons .

Can u fix the problem ?

lg

misr.cc 06-03-2008 12:44 PM

Quote:

Originally Posted by lostguy (Post 1539656)
Urh u have to use another product just to avoid the errors ? This is sad !!!

[ITECH] Inferno CSRF Auto Protection was created for 3.6.9..im using 3.7.1 !

U need fix ya script problems ...I dont want to add another add-on just to fix another problem add-ons .

Can u fix the problem ?

lg

it work with 3.7 i test it and it work .... but i think you can wait am working to fix it now ..... i hope i finish it today or tomorrow :)

lostguy 06-03-2008 12:49 PM

take ya time :)

misr.cc 06-03-2008 12:57 PM

Quote:

Originally Posted by lostguy (Post 1539667)
take ya time :)

I have a test tomorrow .. so some study and some work with this :D
so if not today i do my best to make it tomorrow .

misr.cc 06-03-2008 06:24 PM

New Stamps PICS added and Turkish XML Added

Subah 06-03-2008 06:50 PM

Great one, waiting for the arabic edition :)

HaYLaZ 06-03-2008 06:54 PM

It seems good:D

misr.cc 06-03-2008 07:18 PM

Quote:

Originally Posted by Subah (Post 1539925)
Great one, waiting for the arabic edition :)

Attached it ... try it any problem let me knew :)
بالمرفقات يا غالي النسخة العربية من تطوير المودة

Quote:

Originally Posted by HaYLaZ (Post 1539931)
It seems good:D

Yes .. many thanks for your great work :up:

HaYLaZ 06-03-2008 07:21 PM

Some other maybe useful stamps :)

https://vborg.vbsupport.ru/external/2008/06/16.pnghttps://vborg.vbsupport.ru/external/2008/06/17.pnghttps://vborg.vbsupport.ru/external/2008/06/18.png

misr.cc 06-03-2008 07:32 PM


You are the best :up:

maamon 06-03-2008 07:39 PM

السلام عليك?

يوجد خطاء كود الامان بملف المنتج العربى

تم حل المشكلة بمعرفتى وأليكم ملف المنتج بعد التحديث ليتوافق مع النسخة 3.7 و 3.7.1

Maamon

misr.cc 06-03-2008 07:46 PM

Quote:

Originally Posted by maamon (Post 1539969)
السلام عليكم
يوجد خطاء كود الامان بملف المنتج العربى

تم حل المشكلة بمعرفتى وأليكم ملف المنتج بعد التحديث ليتوافق مع النسخة 3.7 و 3.7.1

Maamon

تسلم يا غالي على المساعدة ساقوم بتجربته و الرد عليك :)

King Kovifor 06-03-2008 08:07 PM

Please post in English only!

misr.cc 06-03-2008 08:10 PM

Quote:

Originally Posted by King Kovifor (Post 1539985)
Please post in English only!

O.K ... Sorry for this

macc 06-03-2008 08:13 PM

hello!

i uploaded files and import product ...but when put stample on my thread come not any picture ..just red X !

some help ?
and how to use newstamps images?

regards

macc

misr.cc 06-03-2008 08:24 PM

Quote:

Originally Posted by macc (Post 1539989)
hello!

i uploaded files and import product ...but when put stample on my thread come not any picture ..just red X !

some help ?
and how to use newstamps images?

regards

macc

hi, macc
Just wait to tomorrow as am working now to FIX CSRF Auto Protection and make same pics to explain every thing any one need and it will be easy to use it after that :)
thanks for your support :)

macc 06-03-2008 08:26 PM

Thanks ...will wait ..take it easy..

regards

macc

misr.cc 06-03-2008 08:38 PM

Quote:

Originally Posted by macc (Post 1539998)
Thanks ...will wait ..take it easy..

regards

macc

Thanks ... :)

bahisyeri 06-03-2008 11:29 PM

Salam alaikom,
For security token problems:
If you have Advanced product management open this product with it in threadadmin_stamps template find
Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
and Insert this above
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
If you dont have advanced product management open your templates find threadadmin_stamps and do that steps or you can download that fixed product.
Thanks for nice product and idea my brother

lostguy 06-03-2008 11:56 PM

Quote:

Originally Posted by bahisyeri (Post 1540119)
Salam alaikom,
For security token problems:
If you have Advanced product management open this product with it in threadadmin_stamps template find
Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
and Insert this above
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
If you dont have advanced product management open your templates find threadadmin_stamps and do that steps or you can download that fixed product.
Thanks for nice product and idea my brother

Okay i edited templete change and it work now ! Weeeeeeeeeeee / Thanks for the correction .

misr.cc 06-04-2008 05:09 AM

Quote:

Originally Posted by bahisyeri (Post 1540119)
Salam alaikom,
For security token problems:
If you have Advanced product management open this product with it in threadadmin_stamps template find
Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
and Insert this above
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
If you dont have advanced product management open your templates find threadadmin_stamps and do that steps or you can download that fixed product.
Thanks for nice product and idea my brother

Alaikom elsalam
Many thanks bahisyeri fixed it and attached the XML files again
again thank you for your great help


Quote:

Originally Posted by lostguy (Post 1540137)
Okay i edited templete change and it work now ! Weeeeeeeeeeee / Thanks for the correction .

:D:D:D:D

macc 06-04-2008 06:05 AM

hello!

this is still problem with images on forumdisplay... red x!
maybe you miss some images to put in stamps.zip?

http://belaplay.com/vb/libar/images/...thread_bst.gif

http://belaplay.com/vb/libar/images/...thread_rpt.gif

http://belaplay.com/vb/libar/images/...thread_cpy.gif


those have red x! some help?

regards

macc

misr.cc 06-04-2008 06:13 AM

Quote:

Originally Posted by macc (Post 1540332)
hello!

this is still problem with images on forumdisplay... red x!
maybe you miss some images to put in stamps.zip?

http://belaplay.com/vb/libar/images/...thread_bst.gif

http://belaplay.com/vb/libar/images/...thread_rpt.gif

http://belaplay.com/vb/libar/images/...thread_cpy.gif


those have red x! some help?

regards

macc

I got it sorry this problem with XML file am working on it now :)
thanks for your report ... will fix it :)

lostguy 06-04-2008 10:47 AM

https://vborg.vbsupport.ru/external/2008/06/63.jpg

this is how it look error images

fixer 06-04-2008 11:10 AM

Hi
thanks man

But how to remove the table from forum home
i could not find the code that you mentioned in post 2
any help please


All times are GMT. The time now is 04:23 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.01704 seconds
  • Memory Usage 1,873KB
  • 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
  • (1)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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