vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Store & Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=56490)

Spit It 08-26-2003 06:02 AM

Store & Quick Reply
 
I installed store, and now some of the files needed for the quick reply are different so I don't know what code to change.

I'm using vbulletin 2.3.2 if that helps.

Spit It 08-26-2003 11:39 PM

Anyone got an answer?

Tony G 08-27-2003 02:12 AM

Can you tell us what code your having trouble finding with the Quick Reply?

Spit It 08-27-2003 03:06 AM

Quote:

Today at 04:12 AM Lord Dexter said this in Post #3
Can you tell us what code your having trouble finding with the Quick Reply?
Sure, I'm using vbulletin 2.3.2, and this is what I'm supposed to find in showthread.php:

PHP Code:

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {

if (
$noshutdownfunc) {
$DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";


however, this is what's there instead:


PHP Code:

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
  
show_nopermission();
}

if (
$noshutdownfunc) {
  
$DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
  
  
// Store hack by Lesane

  
$storeview=$DB_site->query_first("select views, postuserid from thread WHERE threadid='$threadid'");
  
$views=$storeview[views];
  
$postuserid=$storeview[postuserid];

  
$storeadmin $DB_site->query_first("SELECT * FROM storeadmin");
  
$view1=$storeadmin[view1];
  
$view2=$storeadmin[view2];
  
$view3=$storeadmin[view3];
  
$view4=$storeadmin[view4];
  
$view5=$storeadmin[view5];
  
$viewpoint1=$storeadmin[vpoint1];
  
$viewpoint2=$storeadmin[vpoint2];
  
$viewpoint3=$storeadmin[vpoint3];
  
$viewpoint4=$storeadmin[vpoint4];
  
$viewpoint5=$storeadmin[vpoint5];

  if (
$views == $view1
  {
    
$DB_site->query("UPDATE user SET storep=storep+$viewpoint1 where userid='$postuserid'");
  }
  elseif (
$views == $view2
  {
    
$DB_site->query("UPDATE user SET storep=storep+$viewpoint2 where userid='$postuserid'");
  }
  elseif (
$views == $view3
  {
    
$DB_site->query("UPDATE user SET storep=storep+$viewpoint3 where userid='$postuserid'");
  }
  elseif (
$views == $view4
  {
    
$DB_site->query("UPDATE user SET storep=storep+$viewpoint4 where userid='$postuserid'");
  }
  elseif (
$views == $view5
  {
    
$DB_site->query("UPDATE user SET storep=storep+$viewpoint5 where userid='$postuserid'");
  }
  
} else {
  
$shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";
  
  
// Store hack by Lesane 

any advice?

LukeC 08-28-2003 04:55 AM

Yeah I was wondering if there was a hack for quick reply 2.32, I cant seem to find one. Maybe this thread will lead to the answer :)

bexie 08-30-2003 09:55 PM

I can't find a QR for 2.3.2 either--it's very frustrating! I'm actually very upset with 2.3.2...wish I could downgrade to .0, but I'm afraid to do it, and don't even know if it's possible.

If anyone does find a QR for 2.3.2, I'll love them foreverrrrrr!

pie 08-31-2003 02:25 AM

Try using the Chen's Quick Reply, im having no problem use it, also, actually try things before asking questions.

That step is split up,

you'll have to post the replacement code too, else we cannot help. Look you can see the matches.

BrendonW 09-16-2003 08:30 PM

I have quick reply installed on 2.3.2 and it is there and all, but it doesn't submit the post for some users. You type in and click "Go" and it just takes you to the top of the htread. It did the same thing with another quick reply we had installed, but I put this one instead.


All times are GMT. The time now is 03:56 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.01099 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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