vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Any-forum News hack (https://vborg.vbsupport.ru/showthread.php?t=33314)

JJR512 01-01-2002 07:43 AM

Do you have access to a tool like phpMyAdmin, or can you telnet into your account?

slideboxer 01-01-2002 07:44 AM

Got the telnet... Have to check on that tool, though.

JJR512 01-01-2002 07:48 AM

I'm not exactly sure how to run queries via telnet, but maybe someone else can look in the instructions to see what needs to be done, and tell you exactly how to do it via telnet.

slideboxer 01-01-2002 08:03 AM

OKay, I went and found and installed phpMyAdmin.. now what? :stupid:

JJR512 01-01-2002 08:12 AM

Well, you select your database on the left side (if you have more than 1), click it to open the list of all the tables, then on the right side below the list of tables is a box that says Run SQL query/queries etc. Copy the query into that box and hit Go.

Don't forget to make a backup copy of your database first. You can do that through the admin cp.

slideboxer 01-01-2002 09:08 AM

I'm so proud of myself :D Got it up and running, no bugs, no problems. Thanks ofr your tie and help.

The Realist 01-01-2002 09:42 AM

Well done M8, Im glad you finaly have it up and running, especialy from the first version and problems you had.

One thing I like you have done and I hope all other hack makers take note of this is the fact that you state this in your instructions I QUOTE "Near the end of the line, before WHERE, right after "$cangetattachment", add this" in other words, other hacks ask you to totaly overwrite lines and therefore screw previous hacks up, you have asked users to add line rather than overwite.

Nice one.

Congrats M8.
;)

JJR512 01-01-2002 09:53 AM

Yeah, that was how I wrote the instructions originally (to overwrite the entire line), and that's what gave you the problems that you had earlier. It was 100% because of that which made me try to figure out a better way to write the instructions.

Most of the rest of the file modifications are just additions, not modifications of existing code, but there is one part that goes into newthread.php that modifies what's already there, and this will interfere with another hack...I know this because I wrote the other hack, too! It's the one that gives you a different redirect message for if you post a non-poll thread or a poll thread. You kind of have to look at what both hacks want you to do if you want them both to work...or I guess I will post what I, personally, am using on my board to solve it, if anybody needs me to.

Speaking of polls, there is still one thing that I haven't tested with this hack yet, and that's what happens when you check both to make a thread a poll and a news item. I know something not right is going to happen, because both polls and news items involve redirecting you to a different page after the thread gets posted. Either it will take you to the poll setup screen and you'll have to create the news item manually, or it will take you to the news item setup screen and not only will there be no poll in that thread, but it might not be visible, either, because when you check that poll box, the thread isn't made visible until after you setup the poll. I still need to look at this issue, see what happens, and figure out what to do about it. In the meantime, I suggest that nobody try to create both a poll and news item thread at the same time.

TheComputerGuy 01-01-2002 01:29 PM

YAY...

This hack is AWESOME!!!

TheComputerGuy 01-01-2002 01:51 PM

on homeindex.php line 29 it states
$editlink="<a href=\"http://www.jjr512.com/testvb/newspost.php?s=$session[sessionhash]&action=editnews&newsid=$gnresults[newsid]\">(edit this news item)</a>";

That needs to be edited for your site....

Other than that...maybe I missed the instructions for this great hack, as I waited for this version to come out!


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

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.01181 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete