Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 05-02-2002, 09:21 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The thing that made me think that it may not work is the fact that the template system (I'm sure I read somewhere) has change quite abit, but that depends how much this hack relies on the built-in template system of vB.
Reply With Quote
  #32  
Old 05-03-2002, 05:50 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR
The thing that made me think that it may not work is the fact that the template system (I'm sure I read somewhere) has change quite abit, but that depends how much this hack relies on the built-in template system of vB.
It doesnt matter even if vbulletin totally revokes the entire template system, let alone changing a bit. WebTemplates (although having the name template) has nothing to do with vbulletin templates. They are kept in a non-vbulletin table, they are created/modified in a non-vbulletin code and they are parsed in a non-vbulletin script. So whatever modification is made in the vbulletin template system, will not effect this hack.

The hack's only common point with Vbulletin is, it uses vbulletin's variables and values (such as username, user style set id etc.) and hack compiles this info via global.php, just like other vbulletin scripts like showthread.php, forumdisplay.php etc. So if they dont touch this system, script will work with even vbulletin 3000 If they change the system, then they have to substitute a similiar system to compile userdata for native vbulletin files and then I have to make a modification in my script and apply the same system they have adopted.

Therefore I dont think there will be any problems with new releases.
Reply With Quote
  #33  
Old 05-05-2002, 01:58 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Logician,

I have found a bug...

the queryname is $_listedownloadprogramme and this don't work and rename to $_listedlprog work fine. The Name to long?

My other (working queryname)
Quote:
Welcome to Your Web Queries:


_last_10_threads [edit] [remove]
Gets user's last 10 threads from forum database
_letzten10threadsalle1 [edit] [remove]
letzetn 10 threads ?ber alles nur mit gleicher oder kleinerer Userid
_listedlprog [edit] [remove]
Liste normaler Programme
_listedownloads [edit] [remove]
Alle Downloads listen
_listedownloadsSWI [edit] [remove]
Fragt alle Downloads aus der Liste ab
_listedownloadsswi152 [edit] [remove]
Liste aller SWI 152
_listedownloadsswi20 [edit] [remove]
Liste aller SWi 2.x
_privateevents [edit] [remove]
Gets user's recent private calender event list
_privatemessages [edit] [remove]
Read last XX private messages of your forum.
_sponsorAusgaben [edit] [remove]
aussgaben auflisten
_sponsorListe [edit] [remove]
Eingang der Betr?ge
_sponsorRestzeit [edit] [remove]
Restlaufzeit ausrechnen
_sponsorSponsoren [edit] [remove]
Liste der Sponsoren
_sponsorSumme [edit] [remove]
Sponsorstatistik
_StatsAnzahlPM [edit] [remove]
Anzahl PM's
_StatsAnzahlPoll [edit] [remove]
Anzahl der Umfragen
_StatsThreadundVoteRate [edit] [remove]
Anzahl der Bewertungen f?r alle threads
and templatename
Quote:
Welcome to Your Web Templates:


downloadprogramme (40) [edit] [remove]
downloads (13) [edit] [remove]
downloadsstats (1) [edit] [remove]
DownloadsSWI (71) [edit] [remove]
downloadsswi152 (7) [edit] [remove]
Downloadsswi20 (8) [edit] [remove]
footer (0) [edit] [remove]
header (0) [edit] [remove]
last10threads (122) [edit] [remove]
Nachrichten (3) [edit] [remove]
notallowed (0) [edit] [remove]
notfound (0) [edit] [remove]
PrivateNachrichten (9) [edit] [remove]
Sponsor (161) [edit] [remove]
webquery_help (1) [edit] [remove]
webtemplate_help (1) [edit] [remove]
whoareyou (1) [edit] [remove]
_sponsorEintragen (1) [edit] [remove]
------------------
...what I really need is the possibility to transfer variables from one to next site...
I realize a Download at the moment with a seperate *.php, because I must give the ID for the target....

and so on... it's very great code and this safe my rarely time...
this is definitely my favourite hack !
Reply With Quote
  #34  
Old 05-05-2002, 02:12 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another tip, when the name to long and a query have the first charackter identical then have you a problem
when i have a querystatement in the template
$_listedownloadsprogramme
and a query $_listedownloads the will query $_listedownloads use and in the template is printing "programme" ...
I little bug... :-) (very small)
Reply With Quote
  #35  
Old 05-05-2002, 05:01 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wildthinks I tested "_listedownloadprogramme" as WebQuery name and it worked here. I dont know what problem you encountered but I created a new webquery named "_listedownloadprogramme", then added the $_listedownloadprogramme variable into my webtemplate and it listed the results.

as for second one: ($_listedownloadsprogramme/$_listedownloads) yes you may have a point. I noted it down and will check it in the new release if there will be a new release
Reply With Quote
  #36  
Old 05-05-2002, 06:03 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm busy on job next week, after that I will send you a "problem" for me ....
Quote:
I noted it down and will check it in the new release if there will be a new release
wow wow wow... mhhhh please. ... develope this further... i give you all support that i can.... unlikely my skills have not level to develope a programm like webtemplate...
Reply With Quote
  #37  
Old 05-05-2002, 07:02 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Wildthinks
wow wow wow... mhhhh please. ... develope this further... i give you all support that i can.... unlikely my skills have not level to develope a programm like webtemplate...
You guys surprise me! I published this hack, asked for comments and feedback to develop it more and nobody even tell me if it's working without any problems in their board or not. Only 12 people installed it in 2 months and honestly this hack lost its priority in my list. (I still use it in my board though).

Then all of a sudden I realize that there are "real fans" of the hack. It's really surprising. Thx anyway.. I'll think about improving it.
Reply With Quote
  #38  
Old 05-05-2002, 07:48 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes... give me a little bit more time to understand and test out all features from your hack...what I really really need is transfer variables from site to site...

See my Downloadmanager in test and developening....
http://swishzone.net/vb -> click on download or on sponsor ... this use your webtemplate ...btw the next one is news and a big intro-site ... soon.... grafix in developement...
Reply With Quote
  #39  
Old 05-12-2002, 10:41 AM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so we going to the point...
bugreport Webtemplates
1. ??Count(dlm_files.id)?? don't work

2. I can't one webtemplate insert in a other... but I use the querytemplates for it... i create a simple (needed and also cached)
query and so work this... can you make a button to say have query or not and so can I use as a webtemplate..
Logician ... i don't understand... i Can't insert webtemplate, but I can insert querys... I think you can insert a query without query... so have you the possibility to insert webtemplates in other...

3. to much space between ??var1?? and ??var1??
sample: original Downloads: ??var1?? in html
Downloads: ??var1??
4. Wish: include Template in Standardtemplate from VB
5. don't work in footer or header as template with templateoption or standalone... means that I can't use query's or templates in footer or header...
6. casesensitiv? the names are casesensitiv? sometimes yes sometimes no?

samples for templates on my site

all in downloads....
http://swishzone.net/vb/show.php?pg=downloadsswi20

Sponsorlist:
http://swishzone.net/vb/show.php?pg=sponsor

Regards...
Reply With Quote
  #40  
Old 05-12-2002, 06:16 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hiyas,
Quote:
Originally posted by Wildthinks
1. ??Count(dlm_files.id)?? don't work
Right, use alphanumeric names ONLY. ie. A-Z and 0-9

No ().?*,"' etc..

Quote:
2. I can't one webtemplate insert in a other... but I use the querytemplates for it... i create a simple (needed and also cached) so have you the possibility to insert webtemplates in other...
Wow! you are asking for too much!

Yes you cant insert webtemplate inside webtemplate.

You can insert many webqueries inside 1 webtemplates though.

Quote:
3. to much space between ??var1?? and ??var1??
sample: original Downloads: ??var1?? in html
Downloads: ??var1??
I didnt get that??

Quote:
4. Wish: include Template in Standardtemplate from VB
It would be a mistake because then hack would be dependable to vb template system and if they change it in the future (v. 3?), hack would be useless.

And there is no need for that either. If you need to use a vb template, simply copy/paste its contents to your webtemplate.

Quote:
5. don't work in footer or header as template with templateoption or standalone... means that I can't use query's or templates in footer or header...
That's right. Header and footers are not designed to be parsed. If you need to run a webquery in header, do not use a header. Just make 1 webtemplate including your header, webtemplates etc and use that one without header.

Quote:
6. casesensitiv? the names are casesensitiv? sometimes yes sometimes no?
You have already mentioned that, I noted it.. It's not an important bug either. Just always use lower case..

Regards,
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04791 seconds
  • Memory Usage 2,291KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (11)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete