Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
need some help, please Details »»
need some help, please
Version: , by scsa20 scsa20 is offline
Developer Last Online: Oct 2017 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-22-2002 Last Update: Never Installs: 0
 
No support by the author.

okey, this is what I'm trying to do...since no one is kindly enough to make me this hack, I desided to do it myself, so here's the codes I have right now...

in newreply.php, I added:

PHP Code:
,newreply_tv 
after

PHP Code:
$templatesused.=",vbcode_smilies,vbcode_smiliebit,vbcode_smilies_getmore,vbcode_buttons,vbcode_sizebits,vbcode_fontbits,vbcode_colorbits,newpost_closethread 
so it'll look like this:

PHP Code:
$templatesused.=",vbcode_smilies,vbcode_smiliebit,vbcode_smilies_getmore,vbcode_buttons,vbcode_sizebits,vbcode_fontbits,vbcode_colorbits,newpost_closethread,newreply_tv"
and then I added:

[php]
eval("\$newreplytv = \"".gettemplate("newreply_tv")."\";");
[php]

before

PHP Code:
$maxattachsize_temp getmaxattachsize(); 
then I saved it and uploaded it....I then made a template called "newreply_tv" and put the following in it:

Code:
<div align=center><iframe name="cwindow" style="border:0" width=1100 height=300 src=$threadreviewbits></iframe></div>
then I edited "newreply" and searched for:

$threadreviewbits

and replaced it with

$newreplytv

but I just can't get it to work...here's what I see (see picture that's attached)...

can anyone help me out?? thanks

oh, here's the URL where I asked for this in the first place: https://vborg.vbsupport.ru/showthrea...threadid=37668 (call me stupid, but I'm new to hacking).

Download Now

File Type: (21.3 KB, 10 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-22-2002, 04:16 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<div align=center><iframe name="cwindow" style="border:0" width=1100 height=300 src=$threadreviewbits></iframe></div>

This is your error.. unless $threadreviewbits is a link to a page it will not work.
Reply With Quote
  #3  
Old 04-22-2002, 05:39 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you know a why to make it to work?? (as you can see...I'm prety stupid )
Reply With Quote
  #4  
Old 04-22-2002, 05:44 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$newreplytv now you can print this either of two usfull ways.

echo $newreplytv;

or put it in another template
Reply With Quote
  #5  
Old 04-22-2002, 05:48 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, can you clear it up for me to understand better (it's late night, and I'm not thinking stright...plus I don't know anything about PHP and I don't know where you want me to put "echo $newreplytv;" )

thanks for your help
Reply With Quote
  #6  
Old 04-23-2002, 06:35 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okey, this is what I did now...surpringing it worked but now I need some more help.....first let me start off that keeping the PHP file the same from the first post, I just edit newreply_tv template to show the following:

Code:
<div align=center><iframe name="cwindow" style="border:0" width=1100 height=300 src="showthread.php?s=$session[sessionhash]&threadid=$threadid"></iframe></div>
that worked...but now I get what you see in the picture...I want the newest post on top, plus I don't want that header and other junk in it, just the avatars, message, quotes/codeings, and the footer...now where do I go to edit that part?? any ideals to lead me to the right diration can be helpful.....thank you.
Attached Files
File Type: (21.3 KB, 7 views)
Reply With Quote
  #7  
Old 04-24-2002, 08:37 PM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone??
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 10:49 AM.


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.08503 seconds
  • Memory Usage 2,284KB
  • Queries Executed 21 (?)
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
  • (2)bbcode_code
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete