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

Reply
 
Thread Tools Display Modes
  #11  
Old 04-23-2002, 09:15 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for help i will use the dateformat from Mysql ... and I hope I solve the problem...
Reply With Quote
  #12  
Old 04-24-2002, 01:45 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another Question: How can I insert any data in the db?
I don't understand , because when I call aformular then ist query done, but I will write the entry and then insert..
Can you help?

THX
Reply With Quote
  #13  
Old 04-24-2002, 01:54 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
Another Question: How can I insert any data in the db?
I don't understand , because when I call aformular then ist query done, but I will write the entry and then insert..
Can you help?
Basically this hack is for reading FROM database and listing the returned data in a formatted table only, not for writing to the database. So if you want to modify/insert data you have to write the script that does it and then link it form your webtemplate.
Reply With Quote
  #14  
Old 04-24-2002, 02:00 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I have done this, but I hope you can realize WRITING to Database... I write a new Template/Query for Sponsorlisting and so on and your Webtemplates make my life easier. THX
WT
Reply With Quote
  #15  
Old 04-27-2002, 08:13 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Logician,

I'm a little bit nervous. I have Problems with a newssystem that use your webtemplates...
I have no idea, how can be realized with commentfunction... can u help me?
The Sponsortemplate is ready, I will share that when I have migration to vb completed...
Reply With Quote
  #16  
Old 04-27-2002, 08:24 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didnt understand what the problem is?!? Can you clarify?
Reply With Quote
  #17  
Old 04-27-2002, 08:35 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Problem is, that I don't know exactly how can I realize the Newssystem with commentfunction...
my first way was I make a page that call all first thread from a hidden board... and display them on your page, but the smilies don't show's and I have problems with permissions...

Everybody should be commenting this thread ...

Have you another Idea to realize that... I don't need a template, I need a Idea...


PS: The sponsor-thing can you see here http://swishzone.net/vb/show.php?pg=sponsor
Reply With Quote
  #18  
Old 04-27-2002, 08:52 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so why do you need this in a webtemplate? If you need special permissions for certain forums/users to read/reply etc. you can do that with vbulletin. Do you really need your threads moved in a webtemplate?

If you really need it in a webtemplate then may be you can think of moving only thread subjects to your template not the entire thread. You can link your threads in the template and if someone needs to read/reply, they can click the link and beamed to the original thread in the forum.

The hack was not designed to alternate vbulletin's reply feature because we already had it there. Hack's purpose was moreover derive data from the database and automatically create pages integrated with vbulletin. Therefore I dont think we can figure out a way to create a vbulletin reply alternative in a web template..
Reply With Quote
  #19  
Old 04-27-2002, 08:57 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for answer...so I will do what you saw, I think i can also the webtemplate design, that I have the post from VB or the headlines only and then a button to send the user to the thread and he can answer there....

Ok... I hopeI can realize that... thx for help...
Reply With Quote
  #20  
Old 05-01-2002, 12:33 PM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
Yes this is possible:

What you have to do is create a "conditional" depending on user style variable, ie. $bbuserinfo['styleid']

So this should work:
-- cut ----
[[($bbuserinfo['styleid']==X)]]
your header for users whose styleid is X (Dont forget to replace X with style's id number)
[[/($bbuserinfo['styleid']==X)]]

[[($bbuserinfo['styleid']==Y)]]
your header for users whose styleid is Y (Dont forget to replace Y with style's id number)
[[/($bbuserinfo['styleid']==Y)]]

-- cut ----
and etc..

Let alone header, you can even design the WHOLE page in a different manner depending on user's style id, if that is what you want.

I am not at home now, so couldnt check if it works, but I cant see any reason that it wont.

Let me know if this is what you asked..

Regards,
Logician

Hi Logician
Great hack
I have 2 questions.
1: where to add the code above?
2: How do I see where is the user (the whoisonline part)

Thanx in advance
dm
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 03:04 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.04573 seconds
  • Memory Usage 2,275KB
  • Queries Executed 12 (?)
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
  • (2)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_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