vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Export user posts into Excel or text file? (https://vborg.vbsupport.ru/showthread.php?t=200793)

peolit 01-05-2009 05:44 PM

Export user posts into Excel or text file?
 
Anybody know a way to export user posts into an Excel, Access or text file?

Bellardia 01-05-2009 07:19 PM

If you export the table from phpMyAdmin as a .sql file, you can open it in any plaintext editor.
phpMyAdmin also supports exporting the files in the formats of Excel, Word and XML.

If you export as .sql (recommended if you want to re-upload it somewhere else). I'd recommend opening it in WordPad instead of Notepad, since it tends to format the information better.

The table is "TABLE_PREFIX".post but note that this only contains posts. If you're doing it as a backup I'd recommend backing up at least "TABLE_PREFIX".thread as well.

riskofficer 07-11-2009 10:47 PM

How can forum members import user posts into an Excel, or maybe .txt? I mean, I need something that help my users import threads from my board? Is anything like this already done? Sorry my english.

James Birkett 07-13-2009 07:37 AM

You want your users to be able to import threads into your forum database? Strange request... also very unsafe. Giving other users the ability to inject into your database is just asking for SQL exploits in my opinion :rolleyes:
It's not available as a default feature (unless you give them admin privileges), although you could probably whip up a PHP script to do so.

riskofficer 07-14-2009 11:23 AM

hmm, no! export from board to excel or in another words import to excel from board

Marco van Herwaarden 07-14-2009 12:40 PM

Can you give a bit more info on why/what/how they want this. MAybe we can think of a solution for you.

Lynne 07-14-2009 02:46 PM

There is a modification that allows you to download a thread as a text file. I'm sure if you searched on "download*" or "thread*" in "all mods" "titles only" that you could find it.

riskofficer 07-16-2009 11:37 AM

Quote:

Originally Posted by Lynne (Post 1848624)
There is a modification that allows you to download a thread as a text file. I'm sure if you searched on "download*" or "thread*" in "all mods" "titles only" that you could find it.

thank you, this is good mod, but it can download only thread content (posts), but not forum content (threads), anyway thanks!

--------------- Added [DATE]1247748069[/DATE] at [TIME]1247748069[/TIME] ---------------

Quote:

Originally Posted by Marco van Herwaarden (Post 1848555)
Can you give a bit more info on why/what/how they want this. MAybe we can think of a solution for you.

because in my forum there is external database of operational risks, forum members post new threads, each of the thread is operational risk accident

now, because lots of members and new threads everyday, it is hard to copy-paste from forum to excel this base

it will be easier to download threads, with names (because name of thread is name of accident) and content (posts, because posts are description of accident)

Marco van Herwaarden 07-16-2009 12:30 PM

Is it really needed to move to Excel? Is it not possible to read the data directly from teh database. Not sure, but Excel might even be able to read from MySQL.

riskofficer 07-16-2009 03:26 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1849893)
Is it really needed to move to Excel? Is it not possible to read the data directly from teh database. Not sure, but Excel might even be able to read from MySQL.

my forum on the host by hosting provider, how can Access or Excel connect to my forum's MySQL?


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