Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Aug 2012, 18:46
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Real name: CM
Need making an XML product to add a simple HTML on forumhome?

Hey everyone and to the vB.org amazing coders, I have made a few amazing modifications so far, and all of my modifications are in HTML using CSS and JS! You can please go a head and check them, and If I could make them to a product it would help many people, sadly because its to many template changes in my modifications.

If I could get 2 different Ideas or example of xml products how to add html code on a vB3.8.7 and vB 4.x template, because all of my modifications are for vB 3.8 and 4.x, and I will continue this way, make my products work on vB 3.8 and vB4.x!

So far I dont know nothing about making an xml product! So i was thinking maybe it was about time asking for help and making my work grow and to help vBulleting.org also!


I have been following up about template cache and hooks here on vB.org example:
$vbulletin->templatecache['FORUMHOME'] = 'MY CODE NAME' . $vbulletin->templatecache['FORUMHOME'];

I also been trying to add a product, and after adding I extracted the xml, and so far I have filled out the Product ID, Title, Version, Description, Product URL, Version Check URL, so I could understand the way of it, My questions is, can anyone provide me a simple script or xml code for adding a simple html code on forum home or showthread, with no Database change, and no template replacements, Just a simple html code to add.

This could be my FIRST part of learning, and then later I can start working on replacing codes, or adding codes in the templates! But my first need is to get a START CODE so I can work my way up! This is why i am here, I would be very appreciated If someone could help me create a simple XML product to add HTML codes on forumhome or showthread! And I will again say, No database change, or template replacments!

Thank you very much in advance, and sure I will give full credits of my products in future to the person helping me out with this!

by CMan
__________________
I am having a little break from vB Developing. I am trying to finish my PHP and MYSQL courses for now. I will answer all my PM's if anyone needed help for my products, but only when I can be online on vB.org. Its great to see new and old developers keeping vB.org alive! Thank you all for your support!CM

Last edited by ChiNa; 19 Aug 2012 at 19:03.
Reply With Quote
  #2  
Old 19 Aug 2012, 19:38
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Hi ChiNa-Man first of all you should setup a test forum and then enable Debug mode
Open config.php file and add this line of code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then in admincp you're able to make the product clicking Add/Import Product
Where you can choose title, id, version, description etc..
When you make your product you can add plugins (that contains php code) templates, phrases and settings related to that product, so once you download the xml file it will contain all of these sources. To edit templates you should know some basic php, and you want to edit templates (find some code and replace with another code) or add code to some templates?
Reply With Quote
  #3  
Old 19 Aug 2012, 20:57
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Real name: CM
Hello Scanu, Thanks brow for your advice and amazing explanation, now about the DEBUG to TRUE, I did not know, but I kinda figured out the rest.. I am simply 0 in PHP, but I wanna give my best to learn from you guys! Thank you SCANU, I will do these and Later on if I had anything to ask, I will simply reply here! Thanks a lot, I appreciate your time and advice!

And by the way, good luck with your exams, I finished mine, thank god

Ok Scanu: I am back few minutes after enabling the Debug. I have made a vB 4.2 forum ready for testing.... I will try keep going and working a bit on the PHP and how to use the template hooks and changes.. Thanks a lot again, I will let you know about my progress... This is a good start for me...
__________________
I am having a little break from vB Developing. I am trying to finish my PHP and MYSQL courses for now. I will answer all my PM's if anyone needed help for my products, but only when I can be online on vB.org. Its great to see new and old developers keeping vB.org alive! Thank you all for your support!CM

Last edited by ChiNa; 19 Aug 2012 at 21:12.
Reply With Quote
  #4  
Old 21 Aug 2012, 23:59
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Real name: CM
Hi Scanu, Here is my first Product for vB3.8:
http://www.vbulletin.org/forum/showthread.php?p=2358841

Thank you again for your advice!
__________________
I am having a little break from vB Developing. I am trying to finish my PHP and MYSQL courses for now. I will answer all my PM's if anyone needed help for my products, but only when I can be online on vB.org. Its great to see new and old developers keeping vB.org alive! Thank you all for your support!CM
Reply With Quote
  #5  
Old 22 Aug 2012, 00:50
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Very good!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:57.

Layout Options | Width: Wide Color: