vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Small Question for programing vB product (https://vborg.vbsupport.ru/showthread.php?t=151315)

ArAb4NoKiA 07-04-2007 02:15 AM

Small Question for programing vB product
 
Hi Everybody,

I'm programing a vB product and i went to point i don't know how to do it (I'm a beginner in programing)

what a want is :
if a member posting a new thread and it's including the hide tag
Code:

[hide]
he get a error :
You are not authorized to post a hide content in the thread

except some members i define them with the member id

how can i do that ?

Second question :
i want all old thread's that content the hide tag and the thread owner is not authorized to post hide content i want the thread to remove the hide tag Or hide it

That's all

And thanks

Regards,

Dismounted 07-04-2007 05:28 AM

There's already a hack like this, search for it.

ArAb4NoKiA 07-04-2007 03:06 PM

the available hack doesn't include this function

and i'm programing my own hack

mfyvie 07-05-2007 08:38 AM

Quote:

Originally Posted by ArAb4NoKiA (Post 1282675)
the available hack doesn't include this function

and i'm programing my own hack

You might be better off posting this question on the thread for that hack. Maybe the author of that hack will help my adding the functionality you want. If not, it might be better for you to build onto his hack, rather than starting from scratch.

ArAb4NoKiA 07-05-2007 04:32 PM

Hello,

can you give me the code it you know it ?

mfyvie 07-05-2007 04:44 PM

Quote:

Originally Posted by ArAb4NoKiA (Post 1283617)
Hello,

can you give me the code it you know it ?

I'm sorry if anyone on this thread gave you the impression that they knew the code, but like I just said - why don't you post on the thread for the other mod?

People don't really tend to write other people's mods in this area. If you are having trouble debugging a piece of code you've written, then feel free to post it. Or if you are looking for a particular function, feel free to ask. But please don't ask us to write your code for you!

ArAb4NoKiA 07-05-2007 06:03 PM

Hello,

i'm not asking you to right the code for me

i just want to now how do it

i'm a new programmer and i'm trying to learn

i don't want to ask the hack programmer because i'm not using his hack and i'm using my own

Dismounted 07-06-2007 05:11 AM

You can't just "start" on hacks, you have to slowly build up your knowledge on PHP.


All times are GMT. The time now is 05:01 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.01407 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete