vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   It's only a template hack, but still is usefull to see as hack. (https://vborg.vbsupport.ru/showthread.php?t=46655)

flup 12-14-2002 07:55 AM

It's only a template hack, but still is usefull to see as hack.
 
1 Attachment(s)
Ok, like i said, it's only a template hack, but i think you could see it as a little hack.

This "hack" goes after registering to a forum (wich you've selected) I've done the same, my user goes to the "Introduce Yourself" forum.

flup 12-14-2002 08:03 AM

1 Attachment(s)
Above hack is to go to a forum (like introduce yourself)
THe hack i now add is to go to a specified thread

partang2 12-14-2002 08:40 AM

Simple but nice!

flup 12-14-2002 08:44 AM

That's what i thougt also :)

Erwin 12-14-2002 09:48 AM

Important tip:

Get rid of the sessionhash variable in the URL in the templates:

Code:

<input type="hidden" name="url" value="$url/forumdisplay.php?s=*********&forumid=YOURID">
Remove that bit. The sessionhash is a dynamic variable that is meant to be different for every user. You are going to get different users logged on in the same session with that URL.

Replace it with:

Code:

<input type="hidden" name="url" value="$url/forumdisplay.php?s=$session[sessionhash]
&forumid=YOURID">

instead.

Also, since this is a template hack, this belongs in the template forum - did you read the posting rules of this forum? Moving this there now...

A REMINDER: The Hack Forums are for PHP File edits without exception. Template mods stay in this forum.

flup 12-14-2002 09:52 AM

Yub i read them. But i thought it could maybe be a little hack ;)

flup 12-14-2002 09:54 AM

Let's hope this is a good start to begin with hacking etc.

Erwin 12-14-2002 09:54 AM

Btw, there is a nice hack that automatically creates an introduction post for new members - check it out.

flup 12-14-2002 09:56 AM

Hmm lol automatic creates a post wich isn't from users, LoL :)
But thx, will seach for it.

Mr. X 12-15-2002 06:11 AM

Quote:

Originally posted by Erwin
Btw, there is a nice hack that automatically creates an introduction post for new members - check it out.
link?

flup 12-15-2002 08:21 AM

Couldn't find it either

Chris M 12-16-2002 04:10 PM

Try searching for Logician - I think he made it:)

Satan

ap0c 04-30-2003 12:02 AM

not in his list.


edit found it...

https://vborg.vbsupport.ru/showthrea...stering+thread


All times are GMT. The time now is 03:05 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.02567 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete