vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Creating vB modifications for beginners (https://vborg.vbsupport.ru/showthread.php?t=213973)

HardForum 05-18-2009 12:09 PM

Creating vB modifications for beginners
 
Where can I read about it? All that I found is unreadable for beginners
For example, I want to create a hack, that will add a new line in user column (postbit) with some text.

Almotmaiz.Net 05-18-2009 02:08 PM

first u need to enable debug mood on uer test forum.
after.. creat a product from add/upload.

then add your options/ tempates/ plugins
and make sure you select your product name.

sorry for my bad english

powerful_rogue 05-18-2009 02:11 PM

Im also at the stage where I want to start putting my ideas into practice.

Im on the w3schools.com website, any ideas where I should start? Im guessing the following but i maybe wrong!

HTML
XML
Javascript
PHP
SQL

Once these have been studied, is it difficult to put them into practice is vbulletin?

How long did it take for you to get to grips and write your first mod?

Lynne 05-18-2009 02:20 PM

The best thing to do is find a similar modification and see how they went about it. Actually, if possible, grab a couple of similar ones by different authors to see their methods.

And, you can always post your code in the Programming forum and tell us the problem you are having and we can try to help you solve it.

powerful_rogue 05-18-2009 02:27 PM

Hi Lynne,

Thats what ive been trying to do, however without any luck! The mod I want to create is when a member increases in rank they get a message pop up on their screen.

Theres a simlar mod created which sends a PM, so ive been trying to look out how to change it from sending a PM to sending a popup - but without much luck at the moment!

EnIgMa1234 05-18-2009 02:35 PM

I've found that the best way is to start out with something simple and work your way up.

powerful_rogue 05-18-2009 02:37 PM

Thanks. By that would you say the mod im looking to create is a bit too complex for a beginner?

EnIgMa1234 05-18-2009 02:38 PM

Quote:

Originally Posted by powerful_rogue (Post 1812949)
Thanks. By that would you say the mod im looking to create is a bit too complex for a beginner?

It really just depends on your experience coding.

Lynne 05-18-2009 03:20 PM

Doing a pop-up is javascript. So, you'd want to use the same trigger they use in the modification you downloaded, but you'd need to add some javascript to the template when the promotion happens. That could be a bit difficult for a beginner if you are unfamiliar with how to add javascript to a page (you can google "javascript pop-up" and I'm sure you'd get the code).

powerful_rogue 05-18-2009 03:25 PM

Hi Lynne,

I was reading p on javascript the other day, especially use of the pop up box. The only problem is the mod I was going to try and alter does not use any templates, so I would be unsure of where I would need to add the code.

https://vborg.vbsupport.ru/showthrea...highlight=rank


All times are GMT. The time now is 05:51 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.02105 seconds
  • Memory Usage 1,729KB
  • 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_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
  • (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