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)

Neutral Singh 03-12-2005 01:37 AM

Quote:

Originally Posted by OrangeFlea
Sir, I'm having a hard time figuring out the instructions. For example:

Quote:

Save and Close 'drafts.sql', you now can load 'drafts.sql' into your forums database
Load it where exactly? In a specific folder? In my forum's folder? Can you assist?

Hi, sure, i would love to assist you.

I assume that you are using cpanel for maintaing your webhosting account. Please following the steps carefully.

1. Please loginto your cpanel account.

2. Go to My Sql database maintenance.

3. Towards the bottom click "phpmyadmin" link.

4. You will be shown the databases that you are using to run your website.

5. Now select the database where you have installed your forums.

6. In the right hand side. you will see a tab called SQL.

7. Click on it and it will ask to cut and paste the contents of drafts.sql OR you can simply provide the path to draft.sql in the relevant option just below the above cut-paste screen.

8. After pasting or selecting, click GO buttom and you are done as far as drafts.sql part is concerned.

Enjoy !!

PS: I am posting this message in the relevant thread so that other learned people can guide you even better. Regards

OrangeFlea 03-12-2005 02:24 AM

Awesome, thanks!

One question, when modifying the pmnew_pm template, your instructions ask to look for:

<input type="submit" class="button" value="$vbphrase[preview_post]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />

but all I have in there is:

<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />

Same thing?

why-not 03-12-2005 03:06 AM

Hi

Yes it is the same thing, (button wise. The only thing that is different is the $vbphrase, yours uses 'preview_message', my example (install example) uses 'preview_post'! So both are the same but what the button will display!


So yes do the Find and Replace based on your button!

Like so

Find => in 'pm_newpm'

Code:

<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" />
Replace with => in 'pm_newpm'

Code:

<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="p" name="preview" tabindex="1" onclick="this.form.dopreview = true; return true;" /> <if condition="$permissions[newpmdrafts]!=0"><input type="submit" class="button" name="draft" value="$vbphrase[save_draft]" /></if>

C, ya...

Sonia

OrangeFlea 03-12-2005 03:48 AM

Sonia,

Hi! I installed everything, but I can't see the save draft button on my replies. I'm logged on as admin (where it's on by default) but there's nothing there. Heeeeeelllllpppp!!!!

why-not 03-12-2005 10:38 AM

<i>Hi! I installed everything, but I can't see the save draft button on my replies. I'm logged on as admin (where it's on by default) but there's nothing there. Heeeeeelllllpppp!!!!</i>

Hi

What I mean in the install is that Admin permissions are setup to allow for full access to the Draft System. But even admin permissions are not loaded into the vB cache by default so read below to update the vB permissions cache! This is explained in the file 'after_install.txt', but I guess I did not explain it very well. I will update that file now!

Go to 'usergroups' and reload the groups so that the new permissions are added to the vBulletin permission cache! vBulletin uses a cache on permissions!

Follow me...

Go to >> Admin Panel!

Left menu >> click on 'Usergroups', Usergroups opens!!

click on 'Usergroup Manager', Usergroup Manager opens!!

now click on the 'Go' button for group 'Administrators'

User Group Manager (user group 6 => Administrators) opens!

Go all the way to the bottom of that page and find the button 'Update'

Click on that 'button => Update' to reload the permissions cache!

After everything will be shown on your forum for the Administrator group!

Today I am writing a full detailed help file that will list all the settings
and will give examples of setting up different groups with different
access right, please check back later for that. It will help you better
to understand what each option does!

The user group permissions (Help) already have details about each option
and what it does in relationship to other options in the Save Drafts
permissions group! But many have asked me to write a full detailed list
of examples of different groups so they can get a better understanding
what each permission option does!

I am almost done with this and will have it done today, so check back later
for that download!

C, ya...

Sonia

why-not 03-12-2005 11:42 AM

Needed only if downloaded zip before 8:44 AM March 12, 2005)

It was reported that if the New Post folder is filled and someone wants to Save a draft in their New PM folder that is not filled, they can not access the Save Draft button to save the New PM. This only effects groups that have (#) limit on messages that they can be saved!


Fix! (file => ./private.php)

Find in => private.php

Code:

                                if ( drafts_total ( $bbuserinfo['userid'], $permissions['usergroupid'], 1 ) >= $permissions['newpmmax'] )
                                {

replace With

Code:

                                if ( drafts_total ( $bbuserinfo['userid'], $permissions['usergroupid'], 3 ) >= $permissions['newpmmax'] )
                                {


// end fix


Sonia

Arial 03-12-2005 12:30 PM

Sonia, can you please get back to me. I didn't receive your email and for some reason PM' s no longer work to your account?

Thank you.

Arial 03-14-2005 02:59 PM

Sonia

Please note I have taken the hack we discussed to another developer as you seem to be to busy to respond currently.

OrangeFlea 03-14-2005 07:03 PM

Hack worked. It's brilliant.

When will we see the spell check hack, Sonia?

why-not 03-15-2005 12:46 AM

Quote:

Originally Posted by OrangeFlea
Hack worked. It's brilliant.

When will we see the spell check hack, Sonia?


One week, 5 days max, wait till you see the admin panel options it will have! It just won the Spell Checking Shoot Out (PC MAG), *fastest spell checker on the planet*, I just found out today!


C, ya...

Sonia


All times are GMT. The time now is 01:41 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.03741 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_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