vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - You Can't See Attached Files Before Replying (https://vborg.vbsupport.ru/showthread.php?t=94539)

beebi 08-17-2005 10:00 PM

You Can't See Attached Files Before Replying
 
this hack allow you to make any one to reply before he can see Attach Files

except any one who can moderate this form

turksengel 08-18-2005 05:40 AM

i did it but as a error it said :

?????? ???? ?Ğ? ????İŞ ??? ??? ???? ??? ???????

and i modify it ;)

beebi 08-18-2005 06:08 AM

sorry
its an Arabic characters

been fixed

Marco van Herwaarden 08-18-2005 06:10 AM

There are still double-byte characters in the title field.

beebi 08-18-2005 07:06 AM

try it now :squareeyed:

Marco van Herwaarden 08-18-2005 07:20 AM

Looking great now :D

beebi 08-18-2005 08:35 AM

my pleasure

beebi 08-18-2005 10:38 AM

In arabic lang
للغة العربية
عدم مشاهدة المرفقات قبل الرد

iSpanish 08-18-2005 11:41 AM

Quote:

Originally Posted by 7beebi.com
In arabic lang
للغة العربية
عدم مشاهدة المرفقات قبل الرد

Hello bro

Nice work
but you must replace this
Code:

<normalfont>cantseeattach</normalfont>
to
Code:

<normalfont>You Can't See Attach Files Before Reply</normalfont>
and upload the product-cantseeattachAR.xml
in the first post with the English one, By this way all arab users can see it :):)

marsauae.com 08-18-2005 11:43 AM

Quote:

Originally Posted by 7beebi.com
In arabic lang
للغة العربية
عدم مشاهدة المرفقات قبل الرد

7beebi.com
thank you

iSpanish 08-18-2005 11:44 AM

Oh sorry


*Marboosh Clicks Install

:)
Best Regards

beebi 08-18-2005 11:47 AM

Quote:

Originally Posted by Marboosh.Net
Hello bro

Nice work
but you must replace this
Code:

<normalfont>cantseeattach</normalfont>
to
Code:

<normalfont>You Can't See Attach Files Before Reply</normalfont>
and upload the product-cantseeattachAR.xml
in the first post with the English one, By this way all arab user can see it :):)

it's fully in arabic

thank u

iSpanish 08-18-2005 11:54 AM

Quote:

Originally Posted by 7beebi.com
it's fully in arabic

thank u

I maen in the ENGLISH XML File bro.....

beebi 08-18-2005 12:01 PM

done :nervous:

iSpanish 08-18-2005 12:03 PM

Quote:

Originally Posted by 7beebi.com
done :nervous:

Good :)

i have idea for you
you can replace

Code:

<normalfont>cantseeattach</normalfont>
to
Code:

<div class="smallfont">
$vbphrase[cantseeattah]
</div>


then add to the XML file
Code:

<phrases>
        <phrasetype name="GLOBAL" fieldname="global">
                <phrase name="cantseeattah"><![CDATA[You Can't See Attach Files Before Reply]]></phrase>
        </phrasetype>
</phrases>

for who using 2 or more language



and you can repalce all of this from XML file
Code:

"' . fetch_template('postbit_cantseeattach') . '"
with this
Code:

$vbphrase[cantseeattah]
and delete
Code:

        <templates>
                <template name="postbit_cantseeattach" templatetype="template" date="0" username="" version=""><![CDATA[<normalfont>You Can't See Attach Files Before Reply</normalfont>]]></template>
        </templates>

also delete this
Code:

        <codes>
        </codes>


for who using 2 or more language

anyway

Good Work

beebi 08-18-2005 12:37 PM

done as u request :squareeyed:

iSpanish 08-18-2005 12:41 PM

Quote:

Originally Posted by 7beebi.com
done as u request :squareeyed:

nice
look again to my last post
i do some edit :)

beebi 08-18-2005 01:58 PM

done

thanks Marboosh.Net

Alrasam 08-18-2005 02:37 PM

Thank you 7beebi.com
nice work :squareeyed:

Andreas 08-18-2005 10:06 PM

Instead of having to maintain 2 (or even more) Product XMLs for different languages i'd suggest to keep the Product XML in one Language (preferably English) and just provide Language XMLs for Translations.

Living in music 08-19-2005 09:03 AM

What do I need to do after adding "new product"? I uploaded product but it wasn't working.

P/S: when users submit reply or post,attachment still not appear for downloading.

beebi 08-19-2005 03:04 PM

Quote:

Originally Posted by Living in music
What do I need to do after adding "new product"? I uploaded product but it wasn't working.

P/S: when users submit reply or post,attachment still not appear for downloading.

fixed

import the plugin only


thanks

Living in music 08-20-2005 12:54 AM

Nice work, thx bro :D

beebi 08-20-2005 04:54 AM

u r well come :squareeyed:

alshehi 08-20-2005 10:24 PM

7beebi.com
thank you

alshehi

Roxie 08-21-2005 03:50 PM

Can you set this to specific forums?

beebi 08-21-2005 08:10 PM

Quote:

Can you set this to specific forums?
yes u can

open the plugin

find

PHP Code:

if($vbulletin->userinfo[userid]!= $m AND can_moderate($forumid'canremoveposts') == false or $vbulletin->userinfo[userid] == 0

replace with

PHP Code:

if($forumid == and $vbulletin->userinfo[userid]!= $m AND can_moderate($forumid'canremoveposts') == false or $vbulletin->userinfo[userid] == 0


and set $forumid == ?
to the one u whant :rolleyes:

Roxie 08-21-2005 10:56 PM

Cool. Thanks. Will try.

tinjon 08-22-2005 03:07 AM

I wish it was available for posts.. to hide certain parts of a post. *sigh*

beebi 08-24-2005 09:52 PM

workin on it

firas 08-26-2005 12:38 PM

gr8 job dear

íÚØíß ÇáÝ ÚÇÝíÉ

oxi_action 09-04-2005 12:15 PM

Hi,
I installed but it gave database error

kauka 09-05-2005 07:35 PM

ok how would you do it if you had more then one forum you wanted to use this hack?

beebi 09-05-2005 08:17 PM

Quote:

Originally Posted by kauka
ok how would you do it if you had more then one forum you wanted to use this hack?

PHP Code:

 if($forumid == and $vbulletin->userinfo[userid]!= $m AND can_moderate($forumid'canremoveposts') == false or $vbulletin->userinfo[userid] == 0

PHP Code:

 if($forumid == or $forumid == or $forumid == and $vbulletin->userinfo[userid]!= $m AND can_moderate($forumid'canremoveposts') == false or $vbulletin->userinfo[userid] == 0



like this :squareeyed:

or $forumid == ?

kauka 09-05-2005 11:53 PM

thank you

beebi 09-06-2005 12:53 AM

u r welcome

ArabSQuad 09-10-2005 01:16 AM

Thank You Very Much Bro
ÇáÜÜÝ ÔßÑ íÇ ÛÇáÜÜÜÜí

GrendelKhan{TSU 09-10-2005 02:39 AM

awesome

<< clicks install. ;)

GrendelKhan{TSU 09-10-2005 04:08 AM

er...is this supposed to be installed as a product or a plug in? (I'm assuming product since that's what the file is called...but one line in the explanation saying which would be great. ;))

thanks! great hack. :)

====

edit: ok its a product. :p

GrendelKhan{TSU 09-10-2005 04:51 AM

also, sorry to be nit picky but......
the current language used grammatically incorrect. :p

currently: You Can't See Attach Files Before Reply
SHOULD be: You Can't See Attached Files Before Replying


but that is still awkward, I recommend something more engaging and active....

=======================
HIDDEN CONTENT!
You must reply first to see the hidden content.
=======================


just my suggestion. :D again, thanks for the work. :D :D


All times are GMT. The time now is 01:02 AM.

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.02366 seconds
  • Memory Usage 1,808KB
  • 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
  • (11)bbcode_code_printable
  • (4)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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