vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Save Drafts (Remember Everything) Updated! (https://vborg.vbsupport.ru/showthread.php?t=77659)

Lionel 03-08-2005 05:45 AM

I managed to install. But when I submit, it takes me to a blank page profile.php?do=drafts&folder=newpost

I looked in db, draft was there. I have the 2 new templates drafts_display and the bits. I triple checked the changes in profile php, the draft page simply will not display. Any idea please?

Revan 03-08-2005 05:56 AM

Very nice mod, I will be installing this when I get home :)
[high]* Revan clicks install
[/high]
It would be nice if you wrote an addon to integrate with the PM attachments mod too :)

WhSox21 03-08-2005 06:14 AM

Quote:

Originally Posted by Lionel
I managed to install. But when I submit, it takes me to a blank page profile.php?do=drafts&folder=newpost

I looked in db, draft was there. I have the 2 new templates drafts_display and the bits. I triple checked the changes in profile php, the draft page simply will not display. Any idea please?

Just trying to help out...

A blank page usually means a missing template.

Lionel 03-08-2005 06:17 AM

I know. Thanks. I only have 2 new templates drafts_display and drafts_row_bit and both are in there.

Lionel 03-08-2005 06:55 AM

I get a mysql error when I try to increase the draft folder in usergroup. When I put a dollar in front of manage_drafts, I don't get it, but nothing happens.

Quote:

Invalid SQL: SELECT draft_id, hid, aid FROM drafts WHERE uid = 4 AND gid = 6 AND did = 1 ORDER BY tod DESC LIMT 5, 1000
mysql error: You have an error in your SQL syntax near 'LIMT 5, 1000' at line 1

mysql error number: 1064

Oblivion Knight 03-08-2005 06:58 AM

Seems like a typo.. In Lionel's query, LIMT should be LIMIT.

Lionel 03-08-2005 07:14 AM

Quote:

Originally Posted by Oblivion Knight
Seems like a typo.. In Lionel's query, LIMT should be LIMIT.

You are right. I was able to fix it in the functions. Now, I am still trying to get profile.php folders to display. I installed the hack at least 3 times ...

why-not 03-08-2005 10:44 AM

To fix a typo!!!

Open ./includes/functions_drafts.php


FIND THIS...

Code:

                                                                $qa = $DB_site->query ( "SELECT draft_id, hid, aid FROM " . TABLE_PREFIX . "drafts WHERE uid = " . $user[$i] . " AND gid = " . $old[0] . " AND did = " . $type . " ORDER BY tod DESC LIMT " . $new[2] . ", 1000" );

REPLACE WITH...

Code:

                                                                $qa = $DB_site->query ( "SELECT draft_id, hid, aid FROM " . TABLE_PREFIX . "drafts WHERE uid = " . $user[$i] . " AND gid = " . $old[0] . " AND did = " . $type . " ORDER BY tod DESC LIMIT " . $new[2] . ", 1000" );

Lionel 03-08-2005 10:49 AM

Sonia, good morning... please help. The profile.php will not display the folders ... all templates are there

why-not 03-08-2005 10:56 AM

Hi

Godd morning to you!!!!!

Please send me the following script that your forum is using!

newreply.php
newthread.php
private.php
profile.php

./includes

functions.php
functions_newpost.php
functions_user.php


Send them to me here!

fataqui@ya-right.com


Or PM access to your forum directory so I can fix what is wrong!


please tell me you are doing (send it to me or sending me access via pm), so I know to wait or just check my email!


Sonia


All times are GMT. The time now is 04:55 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.01134 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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