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-02-2002 09:38 PM

You must have something backwards in your usergroup.php file...I'll take another look at it for you, if you want.

The Realist 01-02-2002 09:46 PM

Sent email asking for your addy M8.

Thanks again.

Brian

[QUOTE]Originally posted by JJR512
You must have something backwards in your usergroup.php file...I'll take another look at it for you, if you want.

JJR512 01-02-2002 10:27 PM

Your direct email address doesn't seem to be working...so: webmaster@jjr512.com

JJR512 01-02-2002 11:33 PM

I have the file fixed for you, but am unable to send email to either of your two addresses; they're getting returned.

The Realist 01-04-2002 01:14 AM

Sorted the templates out and all seemed fine. I started to install a few news pages for members and in fact did 8 all 100%.

Here: http://www.skytronic-forums.com/homeindex.php

The problem I have now is it will not let me enter a 9th news post, coming back with a mysql error:

Database error in vBulletin 2.2.1:

Invalid SQL: SELECT forumid FROM thread WHERE threadid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Friday 04th of January 2002 03:13:35 AM
Script: http://www.skytronic-forums.com/newspost.php
Referer: http://www.skytronic-forums.com/news...on=makenewnews

And now regardless of what post I try it comes back with the same error?

:confused:

JJR512 01-04-2002 05:20 AM

1. How were the first eight news items created...did you do it when you posted the threads, or afterwards using the Create New News link and a pre-existing thread URL, or a mix of both methods?

2. Which method were you using when this error first ocurred?

3. Does the method now happen all the time, regardless of which method you use, or are you able to post news items one way but not the other, and if so, please say which method works and which doesn't.

The Realist 01-04-2002 10:25 AM

[QUOTE]Originally posted by JJR512
1. How were the first eight news items created...did you do it when you posted the threads, or afterwards using the Create New News link and a pre-existing thread URL, or a mix of both methods?

slideboxer 01-04-2002 01:00 PM

Also getting an error when posting polls. I added the following code to newthread.php

PHP Code:

            // redirect
      
if ($postpoll) {
        
$goto="poll.php?s=$session[sessionhash]&threadid=$threadid&polloptions=".intval($polloptions);
      } elseif (
$visible) {
        if (
$makenewsitem) {
          
$goto="newspost.php?s=$session[sessionhash]&action=createnews&threadid=$threadid";
          eval(
"standardredirect(\"".gettemplate("redirect_postnews-create")."\",\"$goto\");");
        } else {
          
$goto="showthread.php?s=$session[sessionhash]&threadid=$threadid";
          eval(
"standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
        }
      } else {
        
$goto="forumdisplay.php?s=$session[sessionhash]&forumid=$forumid";
        eval(
"standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");");
      }
    }
  }


As per instructions but when I post a poll in the forums I get the standard "You will now be redirected, etc...) message and then the screen goes blank and sits at newthread.php

JJR512 01-04-2002 07:21 PM

The Realist, after the last time the link worked for you, but before it stopped working, did you do anything like re-upload the files, apply any other hacks, etc.? Just trying to figure out what would cause it to suddenly stop working, so I know where to look to fix it.

slideboxer, yes, it does not work with polls right now. I already pointed that out, and said that for now, you probably shouldn't check both boxes at the same time.

The Realist 01-04-2002 07:27 PM

No........

I was posting news and finished the 8th post and it would not let me do the 9th, thats it?

Simple!

:)


[QUOTE]Originally posted by JJR512
The Realist, after the last time the link worked for you, but before it stopped working, did you do anything like re-upload the files, apply any other hacks, etc.?.


All times are GMT. The time now is 06:29 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.01135 seconds
  • Memory Usage 1,748KB
  • 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)bbcode_php_printable
  • (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