![]() |
Extract email addresses from DB
Hello guys,
I need to improve my newsletter system due the vb default one is very painful... So the first step is obtain and collect all the users email addresses from my DB. I thought there was a "simply hack" to do this but after many googling and searching here on vb.org I found NOTHING. I know I could get them from the DB but for particular reasons I cannot connect to the sql server by remote and, of course, I am not skilled enough to make a query that does a simple list(ehh lol :rolleyes: ).. Can someone help me? Any kind of help will be very appreciated! --------------- Added [DATE]1275072902[/DATE] at [TIME]1275072902[/TIME] --------------- I think a query like this could work but my problem of remote connection still exists, so.. Code:
SELECT username, email FROM user |
Quote:
Anyway, to get only the emails run this query at the SQL tab at your phpmyadmin: Code:
SELECT email FROM `user`; Code:
SELECT email, username FROM `user`; |
Thanks borbole for your assistance!
To be honest I had already found this kind of solution(at the upper link) but I was concentrated to have the remote mysql access(denied for some reasons).... My solution was clear and veryvery easy: run that query via acp(Maintenance --> Execute SQL Query) By the way thanks borbole, I hope this will help others with the same issue :) |
Glad to hear that you got it solved. I forgot totally about the option to run queries from the acp.
|
Thanks guys for the posts/thread. It solved my problem.
|
Hi guys,
sorry for bump again this thread (started by me :)) but I have a question.. I wanna extract from my db just users that have activated its account by email. I thought to run a query like this: Code:
SELECT username, email FROM user WHERE usergroup_id='2' AND usergroup_id='7' AND ... Code:
SELECT username, email FROM user, usergroup WHERE usergroup_id='2' AND usergroup_id='7' AND ... Sadly I don't know the vbulletin DB diagram (also googled a lot), can someone help me? Thanks in advance! :) --------------- Added [DATE]1300949738[/DATE] at [TIME]1300949738[/TIME] --------------- Up! It is very strange that none is interested to extract usename and emails fro the DB to make newsletter with an external software. The common documentation about this is strongly poor... |
All times are GMT. The time now is 05:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|